Sha256: fbb6ac67e724cdbe989b5ae281bee1b20070ced97de7cf1420dc528557d71e7d
Contents?: true
Size: 669 Bytes
Versions: 46
Compression:
Stored size: 669 Bytes
Contents
class Auth::Work::BulletsController < Auth::ApplicationController =begin include Auth::Concerns::Work::BulletControllerConcern ## 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 end
Version data entries
46 entries across 46 versions & 1 rubygems