diff --git a/app/views/events/events.html.erb b/app/views/events/events.html.erb index 316f114..df9f434 100644 --- a/app/views/events/events.html.erb +++ b/app/views/events/events.html.erb @@ -3,7 +3,7 @@
<%= button :back, _('Back to %s') % profile.name, profile.url %> <% if user && user.has_permission?('post_content', profile) %> - <%= button :new, _('New event'), myprofile_url(:controller => 'cms', :action => 'new', :type => 'Event') %> + <%= button :new, _('New event'), myprofile_path(:controller => 'cms', :action => 'new', :type => 'Event') %> <% end %>
-- libgit2 0.21.2