Allow Inflections to work.
This commit is contained in:
parent
96f3c53d6b
commit
2d772733e7
|
@ -2,6 +2,7 @@
|
|||
|
||||
* bug fix
|
||||
* Added trackable to migrations
|
||||
* Allow inflections to work
|
||||
|
||||
== 0.6.2
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
ActiveSupport::Inflector.inflections do |inflect|
|
||||
end
|
Loading…
Reference in New Issue