fixes #3630
This commit is contained in:
@@ -4,7 +4,7 @@ class BansController < ApplicationController
|
|||||||
helper_method :search_params
|
helper_method :search_params
|
||||||
|
|
||||||
def new
|
def new
|
||||||
@ban = Ban.new(params[:ban])
|
@ban = Ban.new(ban_params(:create))
|
||||||
end
|
end
|
||||||
|
|
||||||
def edit
|
def edit
|
||||||
|
|||||||
Reference in New Issue
Block a user