Sha256: 65f2fa74b057c40a12d69a89f9a05b7934a8cc3d8e1a2382fb2faeb601a6a45a
Contents?: true
Size: 798 Bytes
Versions: 2
Compression:
Stored size: 798 Bytes
Contents
======================================================================== 1. [REQUIRED] Make sure you have 'User' model with 'email' column. 2. [REQUIRED] Insert to 'app/controllers/application_controller.rb': before_filter :authenticate_user! 3. [REQUIRED] Ensure you have root_url in your config/routes.rb. For example: root :to => "home#index" 4. [REQUIRED] Run 'rake current_user:sign_in_path' to see a path to your sign in page. 5. [OPTIONAL] Customize configuration using 'config/initializers/current_user.rb' 6. [OPTIONAL] Customize a unique authentication token for your application by changing 'config/current_user/key' Note: only the first line of the key file will be taken into account. ========================================================================
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
current_user-0.2.1 | lib/generators/templates/README |
current_user-0.2.0 | lib/generators/templates/README |