Extract paths to helper methods
parent
1b33acb937
commit
be24115519
@ -1,2 +1,9 @@
|
|||||||
module ApplicationHelper
|
module ApplicationHelper
|
||||||
|
def twitter_auth_path
|
||||||
|
"/auth/twitter"
|
||||||
|
end
|
||||||
|
|
||||||
|
def github_auth_path
|
||||||
|
"/auth/github"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue