README.md in clearance-1.7.0 vs README.md in clearance-1.8.0

- old
+ new

@@ -8,12 +8,17 @@ Clearance was extracted out of [Airbrake](http://airbrake.io/). It is intended to be small, simple, and well-tested. It is intended to be easy to override defaults. -Use [GitHub Issues](https://github.com/thoughtbot/clearance/issues) for help. +Please use [GitHub Issues] to report bugs. If you have a question about the +library, please use the `clearance` tag on [Stack Overflow]. This tag is +monitored by contributors. +[GitHub Issues]: https://github.com/thoughtbot/clearance/issues +[Stack Overflow]: http://stackoverflow.com/questions/tagged/clearance + Read [CONTRIBUTING.md](/CONTRIBUTING.md) to contribute. Install ------- @@ -57,10 +62,11 @@ ```ruby Clearance.configure do |config| config.allow_sign_up = true config.cookie_domain = '.example.com' config.cookie_expiration = lambda { |cookies| 1.year.from_now.utc } + config.cookie_name = 'remember_token' config.cookie_path = '/' config.routes = true config.httponly = false config.mailer_sender = 'reply@example.com' config.password_strategy = Clearance::PasswordStrategies::BCrypt @@ -214,9 +220,10 @@ All of these controller methods redirect to `'/'` by default: passwords#url_after_update sessions#url_after_create + sessions#url_for_signed_in_users users#url_after_create application#url_after_denied_access_when_signed_in To override them all at once, change the global configuration: