Skip to content

Commit 973c8fa

Browse files
committed
Fix "new space" button linking to nodes form
1 parent ca388db commit 973c8fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/spaces/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<div class="text-right my-3">
66
<% if policy(:space).create? %>
7-
<%= link_to new_node_path, class: 'btn btn-primary' do %>
7+
<%= link_to new_space_path, class: 'btn btn-primary' do %>
88
Create space
99
<% end %>
1010
<% end %>

0 commit comments

Comments
 (0)