From 9f779f1f71c76ae5fcc1fc15282f7230ffb6e01e Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Fri, 4 Oct 2013 11:30:06 +0800 Subject: [PATCH] Updated visibility for get channels in api --- .../panel/video/back_end/channel_videos_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/built_in_modules/video/app/controllers/panel/video/back_end/channel_videos_controller.rb b/vendor/built_in_modules/video/app/controllers/panel/video/back_end/channel_videos_controller.rb index cdcb93a35..ebb1d5689 100644 --- a/vendor/built_in_modules/video/app/controllers/panel/video/back_end/channel_videos_controller.rb +++ b/vendor/built_in_modules/video/app/controllers/panel/video/back_end/channel_videos_controller.rb @@ -1,6 +1,6 @@ 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, :get_channel_videos] + before_filter :force_order_for_user,:except => [:index, :get_channel_videos, :get_channels] def index @channel_videos = ChannelVideo.all