scinote-web/app/views/search/results/partials/_team_text.html.erb

8 lines
197 B
Plaintext
Raw Normal View History

2017-11-27 18:24:41 +08:00
<% if can_read_team?(team) %>
2017-01-25 19:01:23 +08:00
<%= route_to_other_team projects_path(team: team.id),
team,
team.name %>
<% else %>
<%= team.name %>
<% end %>