|
From: | noreply |
Subject: | [myexperiment-hackers] [3609] trunk/app/controllers/license_attributes_controller.rb: Fixed broken error message |
Date: | Thu, 18 Jul 2013 07:52:48 +0000 (UTC) |
Fixed broken error message
--- trunk/app/controllers/license_attributes_controller.rb 2013-07-18 07:51:13 UTC (rev 3608)
+++ trunk/app/controllers/license_attributes_controller.rb 2013-07-18 07:52:48 UTC (rev 3609)
@@ -13,7 +13,7 @@
begin
@license_attribute = LicenseAttribute.find(params[:id])
rescue ActiveRecord::RecordNotFound
- error("License Attribute not found", "is invalid")
+ render_404("License Attribute not found.")
end
end
[Prev in Thread] | Current Thread | [Next in Thread] |