Browse files

Use Ruby 1.9 hash syntax.

Whenever it comes to using class as a hash key, I get a bit nervous.
  • Loading branch information...
1 parent f341227 commit 910df9e5772ea3dbe7334c9c50f02f1ee14051bb @lazyatom lazyatom committed Feb 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/helpers/organisation_helper.rb
View
2 app/helpers/organisation_helper.rb
@@ -17,6 +17,6 @@ def current_organisation_navigation_path(params)
def organisation_view_all_tag(organisation, kind)
path = send(:"#{kind}_organisation_path", @organisation)
- content_tag(:span, safe_join(['View all', @organisation.name, link_to(kind, path)], ' '), :class => "view_all")
+ content_tag(:span, safe_join(['View all', @organisation.name, link_to(kind, path)], ' '), class: "view_all")
end
end

0 comments on commit 910df9e

Please sign in to comment.