forked from heartcombo/devise
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleaning up README to be more compatible with the latest stuff.
- Loading branch information
Showing
9 changed files
with
48 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
* enhancements | ||
* Warden 0.8.0 compatibility | ||
|
||
* deprecation | ||
* Removed DeviseMailer.sender | ||
|
||
== 0.7.5 | ||
|
||
* enhancements | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
|
||
================================================================================ | ||
=============================================================================== | ||
|
||
Some setup you must do manually if you haven't yet: | ||
|
||
1. Setup defaut url options for your specific environment. Here is an example of development environment: | ||
1. Run devise install generator: | ||
|
||
config.action_mailer.default_url_options = { :host => 'localhost:3000' } | ||
ruby script/generate devise_install | ||
|
||
It's a Rails required configuration. In production it must be the actual host your application is deployed to. | ||
2. Setup defaut url options for your specific environment. Here is an | ||
example of development environment: | ||
|
||
2. Setup default sender for mails. In config/environment.rb: | ||
config.action_mailer.default_url_options = { :host => 'localhost:3000' } | ||
|
||
DeviseMailer.sender = "test@example.com" | ||
This is a required Rails configuration. In production is must be the | ||
actual host of your application | ||
|
||
You can also configure this value by running script/generate devise_install and setting config.mailer_sender, | ||
3. Ensure you have defined root_url to *something* in your config/routes.rb: | ||
|
||
3. Ensure you have defined root_url to *something* in your config/routes.rb: | ||
map.root :controller => 'home' | ||
|
||
map.root :controller => 'home' | ||
|
||
================================================================================ | ||
=============================================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters