Class: Sequent::CommandsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Sequent::CommandsController
- Defined in:
- app/controllers/sequent/commands_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 |
# File 'app/controllers/sequent/commands_controller.rb', line 5 def index @commands = Sequent::Core::CommandRecord.all.order(id: :desc) end |
#show ⇒ Object
9 10 11 |
# File 'app/controllers/sequent/commands_controller.rb', line 9 def show @command = Sequent::Core::CommandRecord.find(params[:id]) end |