From 374d2faa99a564831740da716805b91019d3aede Mon Sep 17 00:00:00 2001 From: Lee Lawlor Date: Wed, 26 Mar 2014 21:17:19 -0400 Subject: [PATCH] fix channels clear url --- app/views/channels/_edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } %>