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>