Permalink
Browse files

Allow Inflections to work.

  • Loading branch information...
1 parent 96f3c53 commit 2d772733e756b63de0d066768e1a7ca6a77001c2 @josevalim josevalim committed Dec 2, 2009
Showing with 4 additions and 0 deletions.
  1. +1 −0 CHANGELOG.rdoc
  2. +1 −0 lib/devise/rails/routes.rb
  3. +2 −0 test/rails_app/config/initializers/inflections.rb
View
@@ -2,6 +2,7 @@
* bug fix
* Added trackable to migrations
+ * Allow inflections to work
== 0.6.2
@@ -6,6 +6,7 @@ class RouteSet #:nodoc:
# 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

0 comments on commit 2d77273

Please sign in to comment.