Use help route to redirect to notion hosted help center
This makes it easier for us later change the URL
This commit is contained in:
parent
80771e7415
commit
7917e921ad
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<div id="navbar-menu" class="navbar-menu">
|
<div id="navbar-menu" class="navbar-menu">
|
||||||
<div class="navbar-end">
|
<div class="navbar-end">
|
||||||
<a href="https://www.notion.so/Tinyforms-Help-Center-04f13b5908bc46cfb4283079a3cb1149" class="navbar-item">Help</a>
|
<%= link_to 'Help', help_url, class: 'navbar-item' %>
|
||||||
<div class="navbar-item">
|
<div class="navbar-item">
|
||||||
<% if !logged_in? -%>
|
<% if !logged_in? -%>
|
||||||
<%= link_to "Login", login_url, { :class => "button is-primary"} %>
|
<%= link_to "Login", login_url, { :class => "button is-primary"} %>
|
||||||
|
@ -23,5 +23,8 @@ Rails.application.routes.draw do
|
|||||||
|
|
||||||
get '/demo' => 'home#demo', as: :demo
|
get '/demo' => 'home#demo', as: :demo
|
||||||
get '/contact' => 'home#contact', as: :contact
|
get '/contact' => 'home#contact', as: :contact
|
||||||
|
get '/help', to: redirect('https://www.notion.so/Tinyforms-Help-Center-04f13b5908bc46cfb4283079a3cb1149')
|
||||||
|
|
||||||
|
|
||||||
root 'home#index'
|
root 'home#index'
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user