Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
以 Rails Engine 的方式的嵌入式论坛组件
JavaScript Ruby CSS CoffeeScript
tree: eb059ea5ba

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
lib
.DS_Store
.gitignore
Gemfile
Gemfile.lock
README.markdown
homeland.gemspec

README.markdown

A new style forum for tiny community as Rails Engine. You can mount this in you apps.

Install

  • You need install Ruby 1.9.2, Rubygems and Rails 3.1 and Mongoid first.
  1. in you Gemfile:

    gem "homeland"

  2. Install thought this commands:

    rails g homeland:install

  3. change you application.html.erb

before:

<%= link_to "Home", root_path %>
<%= link_to "Posts", posts_path %>

after:

<%= link_to "Home", main_app.root_path %>
<%= link_to "Home", main_app.posts_path %>

Generate views to custom

rails g homeland:views

Thanks V2EX forum idea.

Something went wrong with that request. Please try again.