Updated visibility for get channels in api
This commit is contained in:
parent
95310619c0
commit
9f779f1f71
|
@ -1,6 +1,6 @@
|
||||||
class Panel::Video::BackEnd::ChannelVideosController < OrbitBackendController
|
class Panel::Video::BackEnd::ChannelVideosController < OrbitBackendController
|
||||||
before_filter :force_order_for_visitor,:only => [:index, :new, :edit, :delete]
|
before_filter :force_order_for_visitor,:only => [:index, :new, :edit, :delete]
|
||||||
before_filter :force_order_for_user,:except => [:index, :get_channel_videos]
|
before_filter :force_order_for_user,:except => [:index, :get_channel_videos, :get_channels]
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@channel_videos = ChannelVideo.all
|
@channel_videos = ChannelVideo.all
|
||||||
|
|
Loading…
Reference in New Issue