myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3609] trunk/app/controllers/license_attributes_c


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)

Revision
3609
Author
fbacall
Date
2013-07-18 07:52:48 +0000 (Thu, 18 Jul 2013)

Log Message

Fixed broken error message

Modified Paths

Diff

Modified: trunk/app/controllers/license_attributes_controller.rb (3608 => 3609)


--- 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
   

reply via email to

[Prev in Thread] Current Thread [Next in Thread]