diff --git a/app/views/channels/_edit.html.erb b/app/views/channels/_edit.html.erb index 8851480..4eb97fb 100644 --- a/app/views/channels/_edit.html.erb +++ b/app/views/channels/_edit.html.erb @@ -107,7 +107,7 @@

<%= t(:channel_clear_message) %>

- <%= button_to t(:channel_clear), { :controller => 'channels', :action => 'clear', :id => @channel.id }, :data => { :confirm => t(:confirm_channel_clear) } %> + <%= button_to t(:channel_clear), "/channels/#{@channel.id}/clear", :data => { :confirm => t(:confirm_channel_clear) } %>