Sha256: 705ae20beb6f1ce5b26c85a5404cfd328efad0c0d107bb3bc8a2e60a81c5417f

Contents?: true

Size: 295 Bytes

Versions: 6

Compression:

Stored size: 295 Bytes

Contents

require_dependency "tang/application_controller"

module Tang
  class Admin::InvoicesController < Admin::ApplicationController
    before_action :set_invoice, only: [:show]

    def show
    end

    private
      def set_invoice
        @invoice = Invoice.find(params[:id])
      end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tang-0.2.2 app/controllers/tang/admin/invoices_controller.rb
tang-0.2.1 app/controllers/tang/admin/invoices_controller.rb
tang-0.2.0 app/controllers/tang/admin/invoices_controller.rb
tang-0.1.0 app/controllers/tang/admin/invoices_controller.rb
tang-0.0.9 app/controllers/tang/admin/invoices_controller.rb
tang-0.0.8 app/controllers/tang/admin/invoices_controller.rb