lib/refinery/authentication/engine.rb in refinerycms-authentication-2.0.0 vs lib/refinery/authentication/engine.rb in refinerycms-authentication-2.0.1

- old
+ new

@@ -16,10 +16,10 @@ plugin.menu_match = %r{refinery/users$} plugin.activity = { :class_name => :'refinery/user', :title => 'username' } - plugin.url = { :controller => '/refinery/admin/users' } + plugin.url = proc { Refinery::Core::Engine.routes.url_helpers.admin_users_path } end end before_inclusion do [Refinery::ApplicationController, Refinery::AdminController, ::ApplicationHelper].each do |c|