Allow Inflections to work.

This commit is contained in:
José Valim 2009-12-02 17:51:34 -02:00
parent 96f3c53d6b
commit 2d772733e7
3 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
* bug fix
* Added trackable to migrations
* Allow inflections to work
== 0.6.2

View File

@ -6,6 +6,7 @@ module ActionController::Routing
# helpers.
def load_routes_with_devise!
load_routes_without_devise!
return if Devise.mappings.empty?
ActionController::Base.send :include, Devise::Controllers::Filters
ActionController::Base.send :include, Devise::Controllers::UrlHelpers

View File

@ -0,0 +1,2 @@
ActiveSupport::Inflector.inflections do |inflect|
end