mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-05-18 11:08:27 +00:00
Removed sign up page unless signed in
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<h2>Sign up</h2>
|
||||
|
||||
<% if user_signed_in? %>
|
||||
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
|
||||
<%= devise_error_messages! %>
|
||||
|
||||
@@ -14,5 +14,6 @@
|
||||
|
||||
<div><%= f.submit "Sign up" %></div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<%= render "devise/shared/links" %>
|
||||
|
||||
Reference in New Issue
Block a user