Updated visibility for get channels in api

This commit is contained in:
saurabhbhatia 2013-10-04 11:30:06 +08:00
parent 95310619c0
commit 9f779f1f71
1 changed files with 1 additions and 1 deletions

View File

@ -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