From e1d2bf9c4e64934ad691c86b9f373ea2692367c0 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Sat, 25 Jul 2015 11:27:07 -0300 Subject: [PATCH] fix new content url in not found content --- app/views/shared/not_found.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/not_found.html.erb b/app/views/shared/not_found.html.erb index 2ef5967..3b508e3 100644 --- a/app/views/shared/not_found.html.erb +++ b/app/views/shared/not_found.html.erb @@ -11,7 +11,7 @@ <%= button :home, _('Go to the home page'), '/' %> <% if logged_in? %> <% parent_id = ((@article && @article.allow_children?) ? @article : nil) %> - <%= modal_button('new', _('New content'), :controller => 'cms', :action => 'new', :parent_id => parent_id, :cms => true) %> + <%= modal_button('new', _('New content'), myprofile_path(:profile => current_person.identifier, :controller => 'cms', :action => 'new', :parent_id => parent_id)) %> <% end %> <% end %>
-- libgit2 0.21.2