README.rdoc in merb-admin-0.6.6 vs README.rdoc in merb-admin-0.6.7
- old
+ new
@@ -9,20 +9,20 @@
http://github.com/sferik/merb-admin/raw/master/screenshots/list.png
http://github.com/sferik/merb-admin/raw/master/screenshots/edit.png
== Installation
$ gem install merb-admin -s http://gemcutter.org
In your app, add the following dependency to <tt>config/dependencies.rb</tt>:
- dependency "merb-admin", "0.6.6"
+ dependency "merb-admin", "0.6.7"
Add the following route to <tt>config/router.rb</tt>:
add_slice(:merb_admin, :path_prefix => "admin")
Then, run the following rake task:
$ rake slices:merb-admin:install
== Configuration (optional)
If you're feeling crafty, you can set a couple configuration options in <tt>config/init.rb</tt>:
Merb::BootLoader.before_app_loads do
Merb::Slices::config[:merb_admin][:app_name] = "My App"
Merb::Slices::config[:merb_admin][:per_page] = 100
- Merb::Slices::config[:merb_admin][:excluded_models] = [:Top, :Secret]
+ Merb::Slices::config[:merb_admin][:excluded_models] = ["Top", "Secret"]
end
== Usage
Start the server:
$ merb
You should now be able to administer your site at http://localhost:4000/admin.