A new style forum for tiny community as Rails Engine. You can mount this in you apps.
- Rails 3.1
- Mongoid
- rails_autolink
-
in you Gemfile:
gem "homeland"
-
Install thought this commands:
rails g homeland:install
-
change you application.html.erb
before:
```erb
<%= link_to "Home", root_path %>
<%= link_to "Posts", posts_path %>
```
after:
```erb
<%= link_to "Home", main_app.root_path %>
<%= link_to "Home", main_app.posts_path %>
```
-
Change you routes.rb to add this:
mount Homeland::Engine, :at => "/bbs"
```bash
rails g homeland:views
```
Thanks V2EX forum idea.