Controller
Ruby
code posted
by
Ruby
created at 07 Oct 18:49
Edit
|
Back
1
2
3
4
5
6
7
8 |
class InvoicesController < ApplicationController
respond_to :html, :xml, :json
def show
@invoice = Invoice.find(params[:id)
respond_with(@invoice)
end
end |
176 Bytes in 3 ms with coderay