Sha256: 0d2e7e0c4dc001625f2f0ef9d53baaf3443f513cb1b46521e59774e2cd754829

Contents?: true

Size: 671 Bytes

Versions: 17

Compression:

Stored size: 671 Bytes

Contents

class Auth::Work::CommunicationsController < Auth::Work::WorkController

	include Auth::Concerns::Work::CommunicationControllerConcern
		
	## 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_action :do_before_request , TCONDITIONS
    before_action :initialize_vars , TCONDITIONS
    before_action :is_admin_user , :only => [:create,:update,:destroy,:edit]
    
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
wordjelly-auth-1.6.0 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.5.9 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.5.8 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.5.7 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.5.6 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.5.5 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.5.4 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.5.3 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.5.2 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.5.1 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.5.0 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.4.9 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.4.8 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.4.7 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.4.6 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.4.5 app/controllers/auth/work/communications_controller.rb
wordjelly-auth-1.4.4 app/controllers/auth/work/communications_controller.rb