diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index f25ee59293a..616c1567f95 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -65,4 +65,8 @@ module ApplicationHelper def privacy_path return "#{Discourse::base_uri}/privacy" end + + def login_path + return "#{Discourse::base_uri}/login" + end end diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 6a905f1feb1..49e0b80361f 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -22,7 +22,7 @@
<% unless current_user %> -