Class: AuthorsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/authors_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



4
5
6
7
# File 'app/controllers/authors_controller.rb', line 4

def show
  @author = Author.find( params[:id] )
  respond_with( @author )
end