diff --git a/app/views/layouts/tour.html.haml b/app/views/layouts/tour.html.haml index 1f0a486bc..c02d56642 100644 --- a/app/views/layouts/tour.html.haml +++ b/app/views/layouts/tour.html.haml @@ -34,6 +34,7 @@ .a= link_to t('layout.logout'), destroy_user_session_path, :method => :delete - else .user + .profile= link_to t("layout.devise.shared_links.sign_up"), new_register_request_path .profile= link_to t("layout.devise.shared_links.sign_in"), new_user_session_path .right .both @@ -55,4 +56,4 @@ bg_alpha : 0.5, piro_scroll : true //pirobox always positioned at the center of the page }); - }); \ No newline at end of file + }); diff --git a/config/routes.rb b/config/routes.rb index f680bfbf0..f1788d751 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -15,6 +15,7 @@ Rosa::Application.routes.draw do get '/forbidden' => 'pages#forbidden', :as => 'forbidden' get '/terms-of-service' => 'pages#tos', :as => 'tos' get '/tour/:id' => 'pages#tour_inside', :as => 'tour_inside', :id => /projects|sources|builds/ + match '/invite.html' => redirect('/register_requests/new') get '/activity_feeds.:format' => 'activity_feeds#index', :as => 'atom_activity_feeds', :format => /atom/ if APP_CONFIG['anonymous_access']