diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-07-18 07:32:46 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-07-18 07:32:46 +0100 |
commit | 62c3e800542b3ea3a3b19fbaaf044f3209d4c1de (patch) | |
tree | 5785a4ae940fbbfece31cc49978f546b2541ce80 | |
parent | 9872ded8b7054daaf3e07e20a52d17f470d2d616 (diff) |
Syntax fix - we don't want to output the final value of the iterator.
-rw-r--r-- | app/views/public_body/_alphabet.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/public_body/_alphabet.html.erb b/app/views/public_body/_alphabet.html.erb index 111da5b3b..63b24e0fb 100644 --- a/app/views/public_body/_alphabet.html.erb +++ b/app/views/public_body/_alphabet.html.erb @@ -1,3 +1,3 @@ -<%= "A".upto("Z") do |l| -%> +<%- "A".upto("Z") do |l| -%> <%= link_to_unless (@tag == l), l, list_public_bodies_path(:tag => l.downcase) %> <% end %> |