Module: RailsCommandPalette::ActionController::HelperMethods

Defined in:
lib/rails_command_palette/action_controller.rb

Instance Method Summary collapse

Instance Method Details

#command_palette(options = {}) ⇒ Object



29
30
31
# File 'lib/rails_command_palette/action_controller.rb', line 29

def command_palette(options = {})
  CommandPalette.new(commands, options).to_html
end