Skip to content

Commit

Permalink
Merge pull request #2 from plashchynski/add_info_about_installation
Browse files Browse the repository at this point in the history
add more info on how to setup
  • Loading branch information
borisnadion committed Dec 23, 2013
2 parents 1bae4dd + 23d8c30 commit 16744f2
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,33 @@
Add an ability to [rails_admin](https://github.com/sferik/rails_admin) to impersonate as any user or actually any member
that is devise authenticatable.

Installation: just add to your Gemfile.
## Installation

Add to your Gemfile:

gem 'rails_admin'
gem 'rails_admin_impersonate'

Add to your `config/initializers/rails_admin.rb` an action `impersonate` to actions:

config.actions do
# root actions
dashboard # mandatory
# collection actions
index # mandatory
new
export
history_index
bulk_delete
# member actions
show
edit
delete
history_show
show_in_app
impersonate
end

You should see home icon and Impersonate link for every user action.

This project rocks and uses MIT-LICENSE.
Expand Down

0 comments on commit 16744f2

Please sign in to comment.