<% end %>
<%=
user = (@prev_by_user || @next_by_user).user.display_name
- link_to content_tag(:bdi, user), :controller => "changeset", :action => "list", :display_name => user
+ link_to content_tag(:bdi, user), :controller => "changeset", :action => "index", :display_name => user
%>
<% if @next_by_user %>
·
end
def test_read_changeset
+ user = create(:user)
private_changeset = create(:changeset, :user => create(:user, :data_public => false))
- changeset = create(:changeset)
+ changeset = create(:changeset, :user => user)
+ create(:changeset, :user => user)
browse_check "changeset", private_changeset.id, "browse/changeset"
browse_check "changeset", changeset.id, "browse/changeset"
end