Skip to content

Commit

Permalink
Bug fix on updating work units
Browse files Browse the repository at this point in the history
  • Loading branch information
dchapman1988 committed Jan 8, 2018
1 parent e749798 commit 2a1f299
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
xrono (1.0.12)
xrono (1.0.14)
acl9
acts-as-taggable-on
acts_as_commentable
Expand Down Expand Up @@ -369,3 +369,6 @@ DEPENDENCIES
spork (= 0.9.0.rc9)
trinidad
xrono!

BUNDLED WITH
1.10.6
1 change: 0 additions & 1 deletion app/controllers/work_units_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def edit
end

def update
params[:work_unit][:ticket_attributes][:id] = params[:work_unit][:ticket_id]
if @work_unit.update_attributes(params[:work_unit])
flash[:notice] = t(:work_unit_updated_successfully)
redirect_to @work_unit
Expand Down

0 comments on commit 2a1f299

Please sign in to comment.