Created
October 16, 2009 12:09
-
-
Save franckverrot/211776 to your computer and use it in GitHub Desktop.
This file contains 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
It's very quick to setup and enjoy. In your config/environment.rb file, just put: | |
[...] | |
Rails::Initializer.run do |config| | |
[...] | |
config.middleware.use "CodeBeautifier" do | |
spaces 4 | |
content_types ["text/html", "application/xml"] | |
end | |
[...] | |
end | |
[...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment