require "#{File.dirname(__FILE__)}/abstract_note" module Footnotes module Notes class ParamsNote < AbstractNote def initialize(controller) @params = controller.params.symbolize_keys end def title "Params (#{@params.length})" end def content mount_table_for_hash(@params) end end end end