Permalink
Browse files

fixed doc spacing

  • Loading branch information...
1 parent 7b05fce commit 515779b60f69a7dcad22c71e63055adb1f30d930 @DaveSanders committed Jun 28, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 lib/generators/user_impersonate/templates/config/initializers/user_impersonate.rb
View
@@ -172,7 +172,7 @@ module UserImpersonate
config.user_finder = "find" # User.find
config.user_id_column = "id" # Such that User.find(aUser.id) works
config.user_is_staff_method = "staff?" # current_user.staff?
- config.user_can_impersonate_method = nil # current_user.can_impersonate?(user_id)
+ config.user_can_impersonate_method = nil # current_user.can_impersonate?(user_id)
end
end
```
@@ -5,7 +5,7 @@ class Engine < Rails::Engine
config.user_id_column = "id" # Such that User.find(aUser.id) works
config.user_name_column = "name" # Such that User.where("#{user_name_column} like ?", "%#{params[:search]}%") works
config.user_is_staff_method = "staff?" # current_user.staff?
- config.user_can_impersonate_method = nil # current_user.can_impersonate?
+ config.user_can_impersonate_method = nil # current_user.can_impersonate?
config.redirect_on_impersonate = "/"
config.redirect_on_revert = "/impersonate"

0 comments on commit 515779b

Please sign in to comment.