AgileVentures/LocalSupport

View on GitHub
app/controllers/admin/settings_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Admin

  class SettingsController < Admin::ApplicationController

    # To customize the behavior of this controller,
    # you can overwrite any of the RESTful actions. For example:
    #
    # def index
    #   super
    #   @resources = Setting.
    #     page(params[:page]).
    #     per(10)
    # end

    # Define a custom finder by overriding the `find_resource` method:
    # def find_resource(param)
    #   Setting.find_by!(slug: param)
    # end

    # See https://administrate-prototype.herokuapp.com/customizing_controller_actions
    # for more information
  end
end