Sha256: c4071201a47f5c71ca56a1d233a0daf2e7f5f1490477ba440f44c21e80d59df8
Contents?: true
Size: 600 Bytes
Versions: 30
Compression:
Stored size: 600 Bytes
Contents
class Auth::Shopping::CartsController < Auth::Shopping::ShoppingController include Auth::Concerns::Shopping::CartControllerConcern ## 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] 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
30 entries across 30 versions & 1 rubygems