view vendor/plugins/redmine_bibliography/app/controllers/publications_controller.rb @ 334:d750431a4102 feature_36

small changes to the controllers/views.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 30 Mar 2011 00:55:57 +0100
parents 4575b631f6ce
children ad71d0604ac2
line wrap: on
line source
class PublicationsController < ApplicationController

  def new
    @publication = Publication.new(params[:publication])
  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