Project

rails_wiki

0.0
No commit activity in last 3 years
No release in over 3 years
Rails Wiki is a simple engine to get you a markdown based wiki.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0
~> 3.0.5
~> 4.1.6
 Project Readme

RailsWiki

Gem Version

License

This project rocks and uses MIT-LICENSE.

Installation

This currently depends on a working paper_trail and devise install.

To install:

Add this to your Gemfile

gem 'rails_wiki'

Then run:

rake rails_wiki:install:migrations

Then you can run the migrations

rake db:migrate

And mount the engine, it will add the route /wiki/ to whatever path you use, so might as well mount to / like:

  mount RailsWiki::Engine, at: "/"

Examples

Want to get to your articles from the host rails app?

@welcome_article = RailsWiki::Article.find_by_title('welcome')

Want to link to those articles?

<%= link_to article.pretty_title, rails_wiki.article_path(article) %>