Commit 3fa825db318bb626ffbf642578cb256a4be1b479

Authored by Diego Camarinha
1 parent e390e540

Removed unused parameter on not_found method.

Signed off by: Daniel Miranda <danielkza2@gmail.com>
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/application_controller.rb
@@ -31,7 +31,7 @@ class ApplicationController &lt; ActionController::Base @@ -31,7 +31,7 @@ class ApplicationController &lt; ActionController::Base
31 31
32 protected 32 protected
33 33
34 - def not_found(exception) 34 + def not_found
35 respond_to do |format| 35 respond_to do |format|
36 format.html { render file: "#{Rails.root}/public/404", layout: false, status: :not_found } 36 format.html { render file: "#{Rails.root}/public/404", layout: false, status: :not_found }
37 format.json { head :not_found } 37 format.json { head :not_found }