show error message on chart if channel not found

This commit is contained in:
Lee Lawlor
2014-10-02 13:59:11 -04:00
parent 4f05d39cfb
commit 0260e5209a
4 changed files with 9 additions and 4 deletions

View File

@ -18,7 +18,7 @@ class FeedFactory < ApplicationController
end
# attributes that can be read
attr_reader :feeds, :daily_feeds, :limit, :use_daily_feed, :feed_select_options, :cache_feeds
attr_reader :feeds, :daily_feeds, :limit, :use_daily_feed, :feed_select_options, :cache_feeds, :channel
# calculate the limit that should be used
def calculate_limit