README.md in clearance-1.16.0 vs README.md in clearance-1.16.1

- old
+ new

@@ -224,16 +224,18 @@ ### Layouts By default, Clearance uses your application's default layout. If you would like to change the layout that Clearance uses when rendering its views, simply -specify the layout in an initializer. +specify the layout in the `config/application.rb` ```ruby -Clearance::PasswordsController.layout "my_passwords_layout" -Clearance::SessionsController.layout "my_sessions_layout" -Clearance::UsersController.layout "my_admin_layout" +config.to_prepare do + Clearance::PasswordsController.layout "my_passwords_layout" + Clearance::SessionsController.layout "my_sessions_layout" + Clearance::UsersController.layout "my_admin_layout" +end ``` ### Translations All flash messages and email subject lines are stored in [i18n translations] @@ -362,11 +364,11 @@ ### Ready Made Feature Specs If you're using RSpec, you can generate feature specs to help prevent regressions in Clearance's integration with your Rails app over time. These -feature specs, will also require `factory_girl_rails`. +feature specs, will also require `factory_bot_rails`. To Generate the clearance specs, run: ```shell $ rails generate clearance:specs @@ -431,10 +433,10 @@ [`LICENSE`]: /LICENSE ## About thoughtbot -![thoughtbot](https://thoughtbot.com/logo.png) +![thoughtbot](http://presskit.thoughtbot.com/images/thoughtbot-logo-for-readmes.svg) Clearance is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc. We love open source software!