Created
November 9, 2012 00:23
-
-
Save jtrim/4042885 to your computer and use it in GitHub Desktop.
Make every page link to .html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ApplicationController < ActionController::Base | |
| # ... | |
| def default_url_options | |
| { :format => :html } | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment