You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
v4.1.1
Steps to reproduce:
This bug appears to be related to the use of render :action_name within several of the codebase's controller actions.
e.g.
# app/controllers/contributors_controller.rb# PUT /plans/:plan_id/contributors/:iddefupdate
...
render:edit
...
end# GET /plans/:plan_id/contributors/:id/editdefedit
...
end
If render :edit is executed within the update action, then the edit view is rendered. However, the path remains on the /plans/:plan_id/contributors/:id PUT path.
From there, if we use the language selector, then the following code is executed:
redirect_back seems to call the controller action that corresponds to the GET method for the current URL path. However, there is no controller action for GET /plans/:plan_id/contributors/:id within the codebase. As a result, the following error is rendered within development:
Throughout the codebase, there are controller actions that call render :x, without having a GET action corresponding to the current path that the app is on.
The text was updated successfully, but these errors were encountered:
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
v4.1.1
Steps to reproduce:
render :action_name
within several of the codebase's controller actions.e.g.
If
render :edit
is executed within theupdate
action, then the edit view is rendered. However, the path remains on the/plans/:plan_id/contributors/:id
PUT path.From there, if we use the language selector, then the following code is executed:
redirect_back
seems to call the controller action that corresponds to the GET method for the current URL path. However, there is no controller action for GET/plans/:plan_id/contributors/:id
within the codebase. As a result, the following error is rendered within development:Throughout the codebase, there are controller actions that call
render :x
, without having a GET action corresponding to the current path that the app is on.The text was updated successfully, but these errors were encountered: