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

Version Path
wordjelly-auth-1.2.9 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.2.8 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.2.6 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.2.5 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.2.4 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.2.3 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.2.2 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.2.1 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.2.0 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.1.9 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.1.8 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.1.7 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.1.6 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.1.5 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.1.4 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.1.3 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.1.2 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.1.1 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.1.0 app/controllers/auth/shopping/carts_controller.rb
wordjelly-auth-1.0.9 app/controllers/auth/shopping/carts_controller.rb