fix projects controller
This commit is contained in:
@@ -69,7 +69,7 @@ class ProjectsController < ApplicationController
|
|||||||
|
|
||||||
# Use callbacks to share common setup or constraints between actions.
|
# Use callbacks to share common setup or constraints between actions.
|
||||||
def set_project
|
def set_project
|
||||||
@project = Project.find(params.expect(:id))
|
@project = Project.find(params[:id])
|
||||||
end
|
end
|
||||||
|
|
||||||
# Only allow a list of trusted parameters through.
|
# Only allow a list of trusted parameters through.
|
||||||
|
|||||||
Reference in New Issue
Block a user