mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-11-23 19:33:46 +01:00
Increase test coverage
This commit is contained in:
1 parent
dd37705e27
commit
f989cd64db
2 files changed
+10
-5
No files matched your search
@@ -17,9 +17,4 @@ class ProblemsController < ApplicationController
|
||||
def set_problem
|
||||
@problem = Problem.find(params[:id])
|
||||
end
|
||||
|
||||
# Never trust parameters from the scary internet, only allow the white list through.
|
||||
def problem_params
|
||||
params.require(:problem)
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user