Sha256: dff318a109b1fd81ab314893754f5a3acb53cb07e3afc54ffa8b585eba5a7072

Contents?: true

Size: 883 Bytes

Versions: 10

Compression:

Stored size: 883 Bytes

Contents

*******************************************************************************

Next steps:

1. Configure the mailer to create full URLs in emails:

    # config/environments/{development,test}.rb
    config.action_mailer.default_url_options = { :host => 'localhost:3000' }

    In production it should be your app's domain name.

2. Display user session and flashes. For example, in your application layout:

    <% if signed_in? %>
      Signed in as: <%= current_user.email %>
      <%= link_to 'Sign out', sign_out_path, :method => :delete %>
    <% else %>
      <%= link_to 'Sign in', sign_in_path %>
    <% end %>

    <div id="flash">
      <% flash.each do |key, value| %>
        <div class="flash <%= key %>"><%= value %></div>
      <% end %>
    </div>

3. Migrate:

    rake db:migrate

*******************************************************************************

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
clearance-1.3.0 lib/generators/clearance/install/templates/README
clearance-1.2.1 lib/generators/clearance/install/templates/README
clearance-1.2.0 lib/generators/clearance/install/templates/README
clearance-1.1.0 lib/generators/clearance/install/templates/README
clearance-1.0.1 lib/generators/clearance/install/templates/README
clearance-1.0.0 lib/generators/clearance/install/templates/README
clearance-1.0.0.rc8 lib/generators/clearance/install/templates/README
clearance-1.0.0.rc7 lib/generators/clearance/install/templates/README
clearance-1.0.0.rc6 lib/generators/clearance/install/templates/README
clearance-1.0.0.rc4 lib/generators/clearance/install/templates/README