Sha256: ca14901557257de75d276f72e2e499d6a8fb6bef8088df3b92691febdb0d3062
Contents?: true
Size: 305 Bytes
Versions: 2
Compression:
Stored size: 305 Bytes
Contents
require_dependency "sequent/application_controller" module Sequent class CommandsController < ApplicationController def index @commands = Sequent::Core::CommandRecord.all.order(id: :desc) end def show @command = Sequent::Core::CommandRecord.find(params[:id]) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sequent-rails-0.1.1 | app/controllers/sequent/commands_controller.rb |
sequent-rails-0.1.0 | app/controllers/sequent/commands_controller.rb |