Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

forget to append .html for rendering 404 template

  • Loading branch information...
commit 14e3821c7e5c2820eed4b5014e657012c4171b20 1 parent c3669d8
Bryan Goines bry4n authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 app/controllers/application_controller.rb
4 app/controllers/application_controller.rb
@@ -14,11 +14,11 @@ def determine_os
14 14 private
15 15
16 16 def page_not_found
17   - render :file => not_found_template, :layout => false
  17 + render :file => not_found_template, :layout => false
18 18 end
19 19
20 20 def not_found_template
21   - File.join(Rails.root, "public/404")
  21 + File.join(Rails.root, "public/404.html")
22 22 end
23 23
24 24 end

0 comments on commit 14e3821

Please sign in to comment.
Something went wrong with that request. Please try again.