myexperiment-hackers
[Top][All Lists]
Advanced

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

[myexperiment-hackers] [2232] trunk/app: Bug fixes for licenses


From: noreply
Subject: [myexperiment-hackers] [2232] trunk/app: Bug fixes for licenses
Date: Tue, 16 Jun 2009 12:32:54 -0400 (EDT)

Revision
2232
Author
drn05r
Date
2009-06-16 12:32:53 -0400 (Tue, 16 Jun 2009)

Log Message

Bug fixes for licenses

Modified Paths

Diff

Modified: trunk/app/controllers/licenses_controller.rb (2231 => 2232)


--- trunk/app/controllers/licenses_controller.rb	2009-06-16 14:30:50 UTC (rev 2231)
+++ trunk/app/controllers/licenses_controller.rb	2009-06-16 16:32:53 UTC (rev 2232)
@@ -1,5 +1,5 @@
 class LicensesController < ApplicationController
-  before_filter :check_admin, :except => [:show, :index]
+  before_filter :check_admin, :except => [:show, :index, :update_license_info]
   
   before_filter :find_licenses, : [:index]
   

Modified: trunk/app/views/license_attributes/_attributes_form.rhtml (2231 => 2232)


--- trunk/app/views/license_attributes/_attributes_form.rhtml	2009-06-16 14:30:50 UTC (rev 2231)
+++ trunk/app/views/license_attributes/_attributes_form.rhtml	2009-06-16 16:32:53 UTC (rev 2232)
@@ -5,7 +5,7 @@
 		<span>Attributes</span>
 		<% if edit %>
 			<hr />
-			<small>Current: <%= license.license_attributes.count %> attributes</small>
+			<small>Current: <%= license.license_attributes.size %> attribute(s)</small>
 		<% end %>
   </div>
   

reply via email to

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