Sha256: 5e21ef9aec16ff7da07c4f850dcb5fe71802f277033d83a5ee93d829fe2f79ef
Contents?: true
Size: 1.06 KB
Versions: 17
Compression:
Stored size: 1.06 KB
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 the production environment it should be your application's full hostname. 2. Display user session status. From somewhere in your layout, render sign in and sign out buttons: <% if signed_in? %> Signed in as: <%= current_user.email %> <%= button_to 'Sign out', sign_out_path, method: :delete %> <% else %> <%= link_to 'Sign in', sign_in_path %> <% end %> 3. Render the flash contents. Make sure the flash is being rendered in your views using something like: <div id="flash"> <% flash.each do |key, value| %> <div class="flash <%= key %>"><%= value %></div> <% end %> </div> 4. Migrate: Run `rails db:migrate` to add the clearance database changes. *******************************************************************************
Version data entries
17 entries across 17 versions & 1 rubygems