show error message on chart if channel not found
This commit is contained in:
1 parent
4f05d39cfb
commit
0260e5209a
4 files changed
+9
-4
No files matched your search
@@ -5,7 +5,7 @@ class FeedController < ApplicationController
|
||||
|
||||
def index
|
||||
feed_factory = FeedFactory.new(params)
|
||||
channel = Channel.find(params[:channel_id])
|
||||
channel = feed_factory.channel
|
||||
api_key = ApiKey.find_by_api_key(get_apikey)
|
||||
@success = channel_permission?(channel, api_key)
|
||||
|
||||
|
||||
Reference in new issue
Block a user