Check access when rendering empty snippets state
When there are snippets to show, the New Snippet button uses new_project_snippet_path for the button. However, the empty snippets state partial was using new_namespace_project_snippet_path. There are no other usages of new_namespace_project_snippet_path in the codebase so making them both use the same new_project_snippet path.
Showing
Please register or sign in to comment