Commit 5cbeedb85028e8ae9bce0fc83f8426da8efc1422
Committed by
Antonio Terceiro
1 parent
3a535021
Fix button of create new event
(cherry picked from commit daa42a638a380eb7fc7b6422662a47ea6ca77a8d)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/events/events.html.erb
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | <div id='agenda-toolbar'> |
| 4 | 4 | <%= button :back, _('Back to %s') % profile.name, profile.url %> |
| 5 | 5 | <% if user && user.has_permission?('post_content', profile) %> |
| 6 | - <%= button :new, _('New event'), myprofile_url(:controller => 'cms', :action => 'new', :type => 'Event') %> | |
| 6 | + <%= button :new, _('New event'), myprofile_path(:controller => 'cms', :action => 'new', :type => 'Event') %> | |
| 7 | 7 | <% end %> |
| 8 | 8 | </div> |
| 9 | 9 | ... | ... |