diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-05-09 17:05:15 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-05-09 17:05:15 +0100 |
commit | 39cf220fcd2955faae798623164efc48a10b8417 (patch) | |
tree | 2128acd6141dee68e7247299c86ce481da0dadb2 /lib/mauve/web_interface.rb | |
parent | 8d60bca4c43e386f74e44206fa6eb369e5fe5aae (diff) | |
parent | 196b337a02f959a431a4bb7c443ed116e4e291f3 (diff) |
merge
Diffstat (limited to 'lib/mauve/web_interface.rb')
-rw-r--r-- | lib/mauve/web_interface.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/web_interface.rb b/lib/mauve/web_interface.rb index 9a46403..b5c0442 100644 --- a/lib/mauve/web_interface.rb +++ b/lib/mauve/web_interface.rb @@ -409,7 +409,7 @@ EOF post '/alert/:id/destroy' do alert = Alert.get(params[:id]) - alert.destroy! + alert.destroy flash['notice'] = "Successfully destroyed alert #{alert.alert_id} from source #{alert.source}." redirect "/" end |