Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove dependency on root_path, use '/' instead.
- Loading branch information
Dan Croak
committed
Jan 19, 2010
1 parent
e165e72
commit f4df580
Showing
6 changed files
with
6 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ def flash_already_confirmed | |
end | ||
|
||
def url_after_create | ||
root_url | ||
'/' | ||
end | ||
|
||
def url_already_confirmed | ||
|
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 |
---|---|---|
|
@@ -79,6 +79,6 @@ def flash_success_after_update | |
end | ||
|
||
def url_after_update | ||
root_url | ||
'/' | ||
end | ||
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
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 |
---|---|---|
|
@@ -123,7 +123,7 @@ def clear_return_to | |
end | ||
|
||
def redirect_to_root | ||
redirect_to(root_url) | ||
redirect_to('/') | ||
end | ||
end | ||
|
||
|