app/controllers/admin/events_controller.rb
class Admin::EventsController < Admin::CommonController
has_scope :by_memory_id, only: %i(index all)
protected
def index_with_list
%w(with_titles with_descriptions) ;end
def model
Event ;end
def permitted_params
params.require( :event )
.permit( :happened_at, :memory_id, :kind, :place_id, :item_id, :person_name,
:type_number, :about_string, :tezo_string, :order, :council ) ;end;end