docbrown/app/controllers/admin/display_ads_controller.rb
2018-02-28 16:11:08 -05:00

21 lines
594 B
Ruby

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