Module Auth for video
This commit is contained in:
parent
45e987d6f5
commit
155722519b
|
@ -1,6 +1,9 @@
|
|||
class Panel::Video::BackEnd::ChannelVideosController < OrbitBackendController
|
||||
before_filter :force_order_for_visitor,:only => [:index, :new, :edit, :delete]
|
||||
before_filter :force_order_for_user,:except => [:index]
|
||||
# before_filter :force_order_for_visitor,:only => [:index, :new, :edit, :delete]
|
||||
# before_filter :force_order_for_user,:except => [:index]
|
||||
open_for_admin
|
||||
open_for_manager
|
||||
open_for_sub_manager
|
||||
|
||||
def index
|
||||
@channel_videos = ChannelVideo.all
|
||||
|
|
|
@ -17,6 +17,8 @@ module Videos
|
|||
end
|
||||
end
|
||||
|
||||
authorizable
|
||||
|
||||
# category ["BulletinCategory"]
|
||||
|
||||
# widgets do
|
||||
|
|
Loading…
Reference in New Issue