Remove redundant rescue_from calls.
These are redundant because ApplicationController rescues these exceptions already.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
class UploadsController < ApplicationController
|
||||
before_filter :member_only
|
||||
respond_to :html, :xml, :json, :js
|
||||
rescue_from Upload::Error, :with => :rescue_exception
|
||||
|
||||
def new
|
||||
@upload = Upload.new
|
||||
|
||||
Reference in New Issue
Block a user