Skip to content

Commit d66ac9d

Browse files
committed
fix/Use correct modal path
1 parent 5f00fc3 commit d66ac9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/folders/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<img src="/icons/search.svg">
1515
</div>
1616

17-
<%= link_to 'ADD SNIPPET', snippets_modals_new_path, class: 'button--cta-new', data: { controller: 'modal', action: 'modal#present', modal_url_value: snippets_modals_new_path(folder_id: @folder.id) } %>
17+
<%= link_to 'ADD SNIPPET', new_modals_snippet_path, class: 'button--cta-new', data: { controller: 'modal', action: 'modal#present', modal_url_value: new_modals_snippet_path(folder_id: @folder.id) } %>
1818
</div>
1919

2020
<div class="margin-top"

0 commit comments

Comments
 (0)