Mercurial > hg > soundsoftware-site
annotate plugins/redmine_bibliography/app/controllers/authors_controller.rb @ 1251:9523dff58d3d redmine-2.2-integration
Fixed a few js bugs; changed some functions from using prototype to jquery.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 03 Apr 2013 16:34:04 +0100 |
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 |