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 %>