Mercurial > hg > soundsoftware-site
annotate plugins/redmine_bibliography/app/controllers/authors_controller.rb @ 1508:a983b92b2fc1 live
Merge from branch cannam
| author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
|---|---|
| date | Fri, 21 Mar 2014 13:37:49 +0000 |
| parents | b4b72f1eb644 |
| children |
| rev | line source |
|---|---|
| luis@328 | 1 class AuthorsController < ApplicationController |
| luis@616 | 2 helper :publications |
| luis@616 | 3 include PublicationsHelper |
| luis@328 | 4 |
| luis@328 | 5 def index |
| luis@328 | 6 @authors = Author.find(:all) |
| luis@406 | 7 end |
| luis@328 | 8 |
| luis@612 | 9 def show |
| luis@616 | 10 @author = Author.find(params[:id]) |
| luis@612 | 11 end |
| luis@612 | 12 |
| luis@328 | 13 end |
