diff --git a/app/controllers/public/home_controller.rb b/app/controllers/public/home_controller.rb index 0138c5b68..9d1411830 100644 --- a/app/controllers/public/home_controller.rb +++ b/app/controllers/public/home_controller.rb @@ -1,11 +1,14 @@ class Public::HomeController < Public::ApplicationController - # Redirect `/` to either `ENV["MARKETING_SITE_URL"]` or the sign-in page. - # If you'd like to customize the action for `/`, you can remove this and define `def index ... end ` below. - include RootRedirect + # Uncomment `include RootRedirect` and comment out `def index ... end` to + # redirect `/` to either `ENV["MARKETING_SITE_URL"]` or the sign-in page. + # include RootRedirect # Allow your application to disable public sign-ups and be invitation only. include InviteOnlySupport # Make Bullet Train's documentation available at `/docs`. include DocumentationSupport + + def index + end end diff --git a/app/views/public/home/index.html.erb b/app/views/public/home/index.html.erb index 81a260bc2..089fac163 100644 --- a/app/views/public/home/index.html.erb +++ b/app/views/public/home/index.html.erb @@ -4,6 +4,8 @@
+ <%= render 'account/shared/notices' %> +
<%= link_to "https://bullettrain.co/", class: "col-span-1", target: '_blank' do %> @@ -22,7 +24,8 @@

- Welcome to Bullet Train! Please read the <%= link_to "documentation", "/docs", target: '_blank' %> to get started. + Welcome to Bullet Train! Please read the <%= link_to "documentation", "/docs", target: '_blank' %> to get started.
+ You can view this page at app/views/public/home/index.html.erb.