philomena/lib/philomena_web/templates/profile/source_change/index.html.slime
2019-12-09 20:21:49 -05:00

9 lines
No EOL
417 B
Text

h1
' Source changes by
a href=Routes.profile_path(@conn, :show, @user)
= @user.name
- route = fn p -> Routes.profile_source_change_path(@conn, :index, @user, 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