Commit 3fa825db318bb626ffbf642578cb256a4be1b479
1 parent
e390e540
Exists in
colab
and in
4 other branches
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 < ActionController::Base |
| 31 | 31 | |
| 32 | 32 | protected |
| 33 | 33 | |
| 34 | - def not_found(exception) | |
| 34 | + def not_found | |
| 35 | 35 | respond_to do |format| |
| 36 | 36 | format.html { render file: "#{Rails.root}/public/404", layout: false, status: :not_found } |
| 37 | 37 | format.json { head :not_found } | ... | ... |