forked from heartcombo/devise
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Devise::Controller::Generator added for auto-generating controllers b…
…ased on scope(s) & other fixes for same
- Loading branch information
Showing
4 changed files
with
11 additions
and
2 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
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 |
---|---|---|
|
@@ -60,6 +60,7 @@ def mailer_sender(mapping, sender = :from) | |
|
||
def template_paths | ||
template_path = _prefixes.dup | ||
template_path.unshift "#{Devise.router_name}/devise/mailer" if Devise.router_name | ||
This comment has been minimized.
Sorry, something went wrong.
josevalim
|
||
template_path.unshift "#{@devise_mapping.scoped_path}/mailer" if self.class.scoped_views? | ||
template_path | ||
end | ||
|
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
Is the generator file missing?