Pass a deployment comment to the deployment form #17

Merged
merged 1 commit into from May 12, 2011
Jump to file or symbol
Failed to load files and symbols.
+3 −0
Diff settings

Always

Just for now

@@ -31,6 +31,9 @@ def show
def new
@deployment = @stage.deployments.new
@deployment.task = params[:task]
+
+ # Allow description to be passed in via a URL parameter
+ @deployment.description = params[:description]
if params[:repeat]
@original = @stage.deployments.find(params[:repeat])