Commit be2e60f8907fb9acffcb14a1fd0a0da37233fcc4

Authored by Antonio Terceiro
1 parent d62bb218

ActionItem1020: fix usage of the wizard parameter

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
app/views/search/_profile.rhtml
1 1 <%# FIXME add more information %>
2 2 <% if (params[:visualization_mode] == 'list') && params[:wizard] %>
3 3 <%= profile_add_link profile %>
4   -<% elsif params[:wizard] %>
5   - <%= profile_add_link profile, true, :portrait %>
6   -<% else %>
  4 +<% elsif params[:wizard].blank? %>
7 5 <%= profile_image_link profile, :portrait %>
  6 +<% else %>
  7 + <%= profile_add_link profile, true, :portrait %>
8 8 <% end %>
... ...