rubocop fixes

This commit is contained in:
Aaro Koivukangas
2023-12-06 15:45:40 +02:00
parent db2870bd60
commit 2dceeb4d61
3 changed files with 14 additions and 13 deletions
+2 -2
View File
@@ -51,8 +51,8 @@ class StylesController < ApplicationController
format.json { head :no_content }
end
end
private
private
def style_params
params.require(:style).permit(:name, :description)