Sha256: 7c5b6f82fe6b90150ede3bd4c12bfa1e27d2d1e79832acaa7a6c8d6a9a40f7f6

Contents?: true

Size: 715 Bytes

Versions: 22

Compression:

Stored size: 715 Bytes

Contents

class Auth::Work::InstructionsController < Auth::Work::WorkController

	include Auth::Concerns::Work::InstructionControllerConcern
	include Auth::Work::Instructions::InstructionsHelper
	## only these actions need an authenticated user to be present for them to be executed.
    CONDITIONS_FOR_TOKEN_AUTH = [:create,:update,:destroy,:edit,:new]

    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
    before_filter :is_admin_user , :only => [:create,:update,:destroy,:edit]
	
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
wordjelly-auth-1.4.3 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.4.2 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.4.0 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.3.9 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.3.8 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.3.7 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.3.6 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.3.5 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.3.3 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.3.2 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.3.1 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.3.0 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.2.9 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.2.8 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.2.6 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.2.5 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.2.4 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.2.3 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.2.2 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.2.1 app/controllers/auth/work/instructions_controller.rb