code-mancers/rapidfire — pull request #37 by sandrew (2014-12-16 17:42:57+00:00)
Title: Inline main_app routes for layout

I have big and complicated layout in my app, and I don't want to edit it to all this `main_app.whatever_path`. So I made a solution first seen at https://github.com/KatanaCode/blogit

Create a file `config/initializers/rapifire.rb` with following code (the feature is off by default):

```ruby
Rapidfire.config do |config|
config.inline_main_app_named_routes = true
end
```

And voila.

The problem is similar to that issue: https://github.com/code-mancers/rapidfire/issues/16