Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

forget to append .html for rendering 404 template

  • Loading branch information...
commit 14e3821c7e5c2820eed4b5014e657012c4171b20 1 parent c3669d8
@bry4n bry4n authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/controllers/application_controller.rb
View
4 app/controllers/application_controller.rb
@@ -14,11 +14,11 @@ def determine_os
private
def page_not_found
- render :file => not_found_template, :layout => false
+ render :file => not_found_template, :layout => false
end
def not_found_template
- File.join(Rails.root, "public/404")
+ File.join(Rails.root, "public/404.html")
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.