# LoginEngine breaks default routing?

**URL:** <https://www.ruby-forum.com/t/loginengine-breaks-default-routing/76551>\
**Category:** Engines\
**Created:** [November 20, 2006, 2:46pm UTC](https://www.ruby-forum.com/t/loginengine-breaks-default-routing/76551 "2006-11-20T14:46:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brent\_Sordyl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@Brent\_Sordyl](https://www.ruby-forum.com/u/Brent_Sordyl)\
**Post date:** [November 20, 2006, 2:46pm UTC](https://www.ruby-forum.com/t/loginengine-breaks-default-routing/76551/1 "2006-11-20T14:46:14Z")

</div>

All, reviewing the baords and bug lists it doesn’t seem like anyone has  
encountered this problem so I was hoping someone could help me out.  
When I add the login engine to my Rails project it seems to break some  
of the routing. The easist thing to reproduce is that at  
[http://localhost:3000/index.html](http://localhost:3000/index.html) when I click ‘About your application’s  
environment’ I get a Routing Error rather than the environment info.  
Please see my reproduction steps below, I hope this is a small issue…

thanks,  
-Brent

1. Create new rails project LoginEngineTest

2. Start on webrick server

3. View index.html at localhost:3000

4. Click ‘About your application’s environment’  
Ruby version 1.8.4 (i386-mswin32)  
RubyGems version 0.9.0  
Rails version 1.1.6  
Active Record version 1.14.4  
Action Pack version 1.12.5  
Action Web Service version 1.1.6  
Action Mailer version 1.2.5  
Active Support version 1.3.1  
Application root C:/Dev/workspace/LoginEngineTest  
Environment development  
Database adapter mysql

5. C:/Dev/workspace/LoginEngineTest\> ruby script/plugin install  
[http://svn.rails-engines.org/plugins/engines](http://svn.rails-engines.org/plugins/engines)

6. C:/Dev/workspace/LoginEngineTest\> ruby script/plugin install  
[http://svn.rails-engines.org/plugins/login\_engine](http://svn.rails-engines.org/plugins/login_engine)

7. create dev database

8. update database.yml to use dev database

9. add to environment.rb  
module LoginEngine  
config :salt, “your-salt-here”  
end

10. edit app/controllers/application.rb file  
require ‘login\_engine’

class ApplicationController \< ActionController::Base  
include LoginEngine  
helper :user  
model :user

```
before_filter :login_required

```

end  
11. edit ApplicationHelper.rb  
module ApplicationHelper  
include LoginEngine  
end  
12. C:/Dev/workspace/LoginEngineTest\> rake engine\_migrate ENGINE=login  
13. Restart webrick server  
14. View index.html at localhost:3000  
15. Click ‘About your application’s environment’

```
Routing Error

Recognition failed for "/rails/info/properties"

```

1. This error occurs in development.log
