Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 2dda81d4d8
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (13 sloc) 0.377 kB
class AuthorsController < ApplicationController
# GET /authors/1
# GET /authors/1.xml
def show
@author = Author.find(params[:id])
respond_to do |format|
format.html # show.html.erb
format.atom { render :layout => false } # show.atom.builder
format.xml { render :xml => @author }
format.json { render :json => @author }
end
end
end
Jump to Line
Something went wrong with that request. Please try again.