philomena/lib/philomena_web/templates/profile/source_change/index.html.slime

9 lines
418 B
Text
Raw Normal View History

2019-12-04 23:56:13 +01:00
h1
' Source changes by
a href=Routes.profile_path(@conn, :show, @user)
= @user.name
- route = fn p -> Routes.profile_source_change_path(@conn, :index, @image, p) end
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @source_changes, route: route, conn: @conn
= render PhilomenaWeb.SourceChangeView, "index.html", conn: @conn, source_changes: @source_changes, pagination: pagination