Blogelator is a Ruby gem for adding a blog to a Rails project.
Add this line to your application's Gemfile:
gem "blogelator"
Install the Blogelator gem with Bundler:
bundle install
Install the controller, views, and database migrations:
rails g blogelator:install
rake db:migrate
Blogelator registers the blog posts with Active Admin to
provide the editing interface for your blog posts. Everything works best if you
are using Active Admin and if current_admin_user
is used to return an authenticated
user who can manage the blog posts when signed in.
If you're not using Active Admin, it should be pretty easy to create a simple interface for managing your blog posts. The reason the old admin interface was removed was to simplify the project and remove authorization methods that don't belong in this gem.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request