theforeman/foreman — pull request #285 by isratrade (2012-12-06 10:06:51+00:00)
Title: fixes #2018 add forward slash to controller name of url_for() helper

http://apidock.com/rails/ActionController/Base/url_for

If the controller name begins with a slash no defaults are used:
```ruby
url_for :controller => '/home'
```
In particular, a leading slash ensures no namespace is assumed. Thus, while url_for :controller => 'users' may resolve to Admin::UsersController if the current controller lives under that module, url_for :controller => '/users' ensures you link to ::UsersController no matter what.