Remove redundant rescue_from calls.

These are redundant because ApplicationController rescues these exceptions already.
This commit is contained in:
evazion
2016-12-26 16:20:23 -06:00
parent 4d87ac028b
commit 40092f21ba
12 changed files with 0 additions and 17 deletions

View File

@@ -1,6 +1,5 @@
class LegacyController < ApplicationController
before_filter :member_only, :only => [:create_post]
rescue_from PostSets::SearchError, :with => :rescue_exception
def posts
@post_set = PostSets::Post.new(tag_query, params[:page], params[:limit], format: "json")