Sha256: adc39b28fc924479a9b3354a3c11bd6383849b5337814703a2afec9f3e97b596
Contents?: true
Size: 630 Bytes
Versions: 18
Compression:
Stored size: 630 Bytes
Contents
class Auth::Shopping::PersonalitiesController < Auth::Shopping::ShoppingController include Auth::Concerns::Shopping::PersonalityControllerConcern ## only these actions need an authenticated user to be present for them to be executed. CONDITIONS_FOR_TOKEN_AUTH = [:create,:update,:destroy,:edit,:new,:index,:show,:create_multiple] TCONDITIONS = {:only => CONDITIONS_FOR_TOKEN_AUTH} ##this ensures api access to this controller. include Auth::Concerns::DeviseConcern include Auth::Concerns::TokenConcern before_filter :do_before_request , TCONDITIONS before_filter :initialize_vars , TCONDITIONS end
Version data entries
18 entries across 18 versions & 1 rubygems