1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00
heartcombo--devise/lib/generators/templates
2016-05-08 13:41:46 -03:00
..
controllers Update controller generator templates for new ParameterSanitizer syntax 2015-12-28 00:45:03 +00:00
markerb quick comment touch-ups 2015-08-27 10:26:12 -05:00
simple_form_for Simplify the logic to display the minimum password length hint 2014-12-27 11:22:40 -02:00
devise.rb Document reload_routes on the app file template. 2016-05-05 17:23:05 -03:00
README Remove reference to Rails 3.2 in post-install text (#4094) 2016-05-08 13:41:46 -03:00

===============================================================================

Some setup you must do manually if you haven't yet:

  1. Ensure you have defined default url options in your environments files. Here
     is an example of default_url_options appropriate for a development environment
     in config/environments/development.rb:

       config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }

     In production, :host should be set to the actual host of your application.

  2. Ensure you have defined root_url to *something* in your config/routes.rb.
     For example:

       root to: "home#index"

  3. Ensure you have flash messages in app/views/layouts/application.html.erb.
     For example:

       <p class="notice"><%= notice %></p>
       <p class="alert"><%= alert %></p>

  4. You can copy Devise views (for customization) to your app by running:

       rails g devise:views

===============================================================================