Commit daa42a638a380eb7fc7b6422662a47ea6ca77a8d

Authored by Parley
1 parent 8cd9c0af

Fix button of create new event

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