Cosmetics
This commit is contained in:
parent
ee5dbcf33e
commit
e569bcb246
21 changed files with 54 additions and 65 deletions
|
|
@ -130,7 +130,7 @@ class ReportsController < ApplicationController
|
|||
|
||||
# Only allow a list of trusted parameters through.
|
||||
def report_params
|
||||
params.require(:report).permit(:name, :comment)
|
||||
params.require(:report).permit(:name, :comment, :url)
|
||||
end
|
||||
|
||||
def filename(report, extension: "html")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue