Sha256: 77f41f277c2f573ce9d377c8f60ae4905b8026999ab3a88ee34df3fab1071721

Contents?: true

Size: 664 Bytes

Versions: 8

Compression:

Stored size: 664 Bytes

Contents

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

	include Auth::Concerns::Work::InstructionControllerConcern
		
	## 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

8 entries across 8 versions & 1 rubygems

Version Path
wordjelly-auth-1.1.8 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.1.7 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.1.6 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.1.5 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.1.4 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.1.3 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.1.2 app/controllers/auth/work/instructions_controller.rb
wordjelly-auth-1.1.1 app/controllers/auth/work/instructions_controller.rb