Skip to content
No description or website provided.
Ruby JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
lib
script
test
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.rdoc
Rakefile
customize_admin.gemspec

README.rdoc

CustomizeAdmin

Installation

Rails 3

Add to your Gamefile:

gem 'customize_admin'

And then execute:

bundle install

After this run install generator:

rails g customize_admin:install

Usage

Scaffold

CustomizeAdmin allows you to create new resources and add them to your admin. For example:

rails g customize_admin:scaffold product name:string description:text

Add resource

CustomizeAdmin allows you to add new admin resource to your CustomizeAdmin using existing models

rails g customize_admin:add_resource NEW_ADMIN_RESOURCE EXISTING_RESOURCE

For example:

rails g customize_admin:add_resource account user

Coming soon description of how to:

Customize views

Customize controllers

Search query

Default search query is set like this:

SEARCH_QUERY = "name LIKE ?"

So, you can overwrite this in your current CustomizeAdmin controller and set different value

Something went wrong with that request. Please try again.