needed to add an extra route called
refresh which I added to my router under the
resources "/sites", SiteController do resources "/users", UserController get "/refresh", UserController, :refresh, as: :refresh end
However when I use the path helper it says only the normal actions such as
:create, :index, etc are supported and it can’t find the :refresh route.
<= link "Refresh", to: Routes.site_user_path(@conn, :refresh, @conn.assigns.site) %>
Tips on how to get this working would be appreciated.