Skip to content

Commit 22850a0

Browse files
committed
Fix context association on status creation
1 parent 4b4423f commit 22850a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/controllers/changeset_statuses_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ def create
1212
@status = ChangesetStatus.new(
1313
:changeset => @changeset,
1414
:author => User.current,
15+
:context => params[:context],
1516
:state => params[:state],
1617
:target_url => params[:target_url],
17-
:description => params[:description],
18-
:context => params[:state]
18+
:description => params[:description]
1919
)
2020

2121
unless @status.save

0 commit comments

Comments
 (0)