Commit e1d2bf9c4e64934ad691c86b9f373ea2692367c0
1 parent
ef70a151
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
fix new content url in not found content
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/shared/not_found.html.erb
... | ... | @@ -11,7 +11,7 @@ |
11 | 11 | <%= button :home, _('Go to the home page'), '/' %> |
12 | 12 | <% if logged_in? %> |
13 | 13 | <% parent_id = ((@article && @article.allow_children?) ? @article : nil) %> |
14 | - <%= modal_button('new', _('New content'), :controller => 'cms', :action => 'new', :parent_id => parent_id, :cms => true) %> | |
14 | + <%= modal_button('new', _('New content'), myprofile_path(:profile => current_person.identifier, :controller => 'cms', :action => 'new', :parent_id => parent_id)) %> | |
15 | 15 | <% end %> |
16 | 16 | <% end %> |
17 | 17 | <form action="/search"> | ... | ... |