[#3294] Allow the query string to control if the new deliverable form is visible.
This commit is contained in:
@@ -27,6 +27,8 @@ class DeliverablesController < ApplicationController
|
||||
|
||||
@budget = Budget.new(@project.id)
|
||||
|
||||
@display_form = params[:new].present?
|
||||
|
||||
respond_to do |format|
|
||||
format.html { render :action => 'index', :layout => !request.xhr? }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user