docbrown/app/controllers/resource_admin/email_messages_controller.rb
Josh Puetz cda18d0aa4
[deploy] Move Admin interface paths (#9576)
* Move administrate to /resource_admin

* Test fixes

* Update docs
2020-08-03 08:49:23 -04:00

21 lines
619 B
Ruby

module ResourceAdmin
class EmailMessagesController < ResourceAdmin::ApplicationController
# To customize the behavior of this controller,
# simply overwrite any of the RESTful actions. For example:
#
# def index
# super
# @resources = Ahoy::Message.
# page(params[:page]).
# per(8)
# end
# Define a custom finder by overriding the `find_resource` method:
# def find_resource(param)
# Ahoy::Message.find_by!(slug: param)
# end
# See https://administrate-prototype.herokuapp.com/customizing_controller_actions
# for more information
end
end