Mercurial > hg > soundsoftware-site
annotate plugins/redmine_bibliography/app/controllers/authors_controller.rb @ 1500:4d8c768855c6 live
Lock down citeproc 0.0.6 for now -- 1.0.0 broke our publications plugin
author | Chris Cannam |
---|---|
date | Fri, 21 Mar 2014 10:05:35 +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 |