Sha256: 4c8fa14ea4502ce251692ea50c690716ad71d4be726b189d4de2327df47a47f1

Contents?: true

Size: 605 Bytes

Versions: 41

Compression:

Stored size: 605 Bytes

Contents

class Auth::Shopping::PaymentsController < Auth::Shopping::ShoppingController
	include Auth::Concerns::Shopping::PaymentControllerConcern
		
	## 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

41 entries across 41 versions & 1 rubygems

Version Path
wordjelly-auth-1.1.9 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.1.8 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.1.7 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.1.6 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.1.5 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.1.4 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.1.3 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.1.2 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.1.1 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.1.0 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.0.9 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.0.8 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.0.5 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.0.4 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.0.3 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-1.0.2 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-0.0.8 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-0.0.5 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-0.0.4 app/controllers/auth/shopping/payments_controller.rb
wordjelly-auth-0.0.3 app/controllers/auth/shopping/payments_controller.rb