Added the start of the deliverable form. #1135

This commit is contained in:
Eric Davis
2008-05-20 20:18:31 -07:00
parent f99883c1bd
commit ca96475b52
7 changed files with 62 additions and 2 deletions
@@ -18,11 +18,18 @@ class DeliverablesController < ApplicationController
:limit => limit,
:offset => @deliverable_pages.current.offset)
@deliverable = Deliverable.new
respond_to do |format|
format.html { render :action => 'index', :layout => !request.xhr? }
end
end
def preview
@text = params[:deliverable][:description]
render :partial => 'common/preview'
end
private
def find_project
@project = Project.find(params[:id])