]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
don't check authorization everywhere
[rails.git] / app / views / site / index.html.erb
index 6f215235cfe686b409bb64e36fa3bf870dca74e6..7603bb1bdd0c26fbcb3c9fa0e0e9d9f8a94a2574 100644 (file)
@@ -1,13 +1,4 @@
 <%
-    set_title()
-    content_for(:content_class) { "overlay-sidebar" }
+   set_title()
+   content_for(:content_class) { "overlay-sidebar" }
 %>
-
-<% unless @user %>
-  <div class="welcome">
-    <h2><%= t 'layouts.intro_header' %></h2>
-    <p><%= t 'layouts.intro_text' %></p>
-    <a class="button learn-more" href="<%= about_path %>"><%= t('layouts.learn_more') %></a>
-    <a class="button sign-up" href="<%= user_new_path %>"><%= t('layouts.sign_up') %></a>
-  </div>
-<% end %>