Mercurial > hg > soundsoftware-site
view vendor/plugins/redmine_bibliography/app/controllers/publications_controller.rb @ 329:4575b631f6ce feature_36
DEV Commit: some work on the publications controller and views
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 29 Mar 2011 17:16:18 +0100 |
parents | aed18b463206 |
children | d750431a4102 |
line wrap: on
line source
class PublicationsController < ApplicationController def new @publication = Publication.new() end def create @publication.save! end def index @publications = Publication.find(:all) end def edit end def update end def show @publication = Publication.find(params[id]) @authors = @publication.authors end end