Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data
Ruby JavaScript
Failed to load latest commit information.
app
config
lib Bump version to 0.8.8
public
screenshots made screenshots smaller for gh-pages
spec Delete boilerplate controller spec
.gemtest Opt-in for testing with rubygems-test
.gitignore Remove .DS_Store from .gitignore
CONTRIBUTING.md Move "Contributing" section into dedicated document for better GitHub…
Gemfile Use HTTPS rubygems source
LICENSE.md Change Markdown extension to .md
README.md Move "Contributing" section into dedicated document for better GitHub…
Rakefile
merb-admin.gemspec Update gemspec [ci skip]

README.md

MerbAdmin

MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data.

It offers an array of features.

Take it for a test drive with sample data.

Screenshots

List view Edit view

Installation

In your app, add the following dependency to Gemfile:

gem "merb-admin", "~> 0.8.8"

Bundle it:

bundle install

Add the following route to config/router.rb:

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 config/init.rb:

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"]
end

Usage

Start the server:

merb

You should now be able to administer your site at http://localhost:4000/admin.

WARNING

MerbAdmin does not implement any authorization scheme. Make sure to apply authorization logic before deploying to production!

Acknowledgments

Many thanks to:

Something went wrong with that request. Please try again.