controllers: declare search_params helper in app controller.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
class BansController < ApplicationController
|
||||
respond_to :html, :xml, :json
|
||||
helper_method :search_params
|
||||
|
||||
def new
|
||||
@ban = authorize Ban.new(permitted_attributes(Ban))
|
||||
|
||||
Reference in New Issue
Block a user