Ticket #6829: reload_routes_after_inflect.diff
| File reload_routes_after_inflect.diff, 0.5 kB (added by dcmanges, 2 years ago) |
|---|
-
railties/environments/environment.rb
old new 52 52 # inflect.irregular 'person', 'people' 53 53 # inflect.uncountable %w( fish sheep ) 54 54 # end 55 # Reload routes if any inflection rules are based on controller names 56 # ActionController::Routing::Routes.reload 55 57 56 58 # Add new mime types for use in respond_to blocks: 57 59 # Mime::Type.register "text/richtext", :rtf