Skip to content

Commit

Permalink
fix: resource route (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
pichoemr authored Jan 6, 2023
1 parent 013ca3e commit 0725374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/lenra_web/lib/lenra_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ defmodule LenraWeb.Router do

scope "/api", LenraWeb do
pipe_through([:api, :ensure_resource_auth, :ensure_cgu_accepted])
get("/apps/:service_name/resources/:resource", ResourcesController, :get_app_resource)
ApplicationRunner.Router.resource_route(ResourcesController)
end

scope "/", LenraWeb do
Expand Down

0 comments on commit 0725374

Please sign in to comment.