Skip to content

Commit

Permalink
Merge pull request #4327 from skateman/foreman-view-to-hash
Browse files Browse the repository at this point in the history
Remove the unnecessary view_to_hash call from Foreman controller
  • Loading branch information
mzazrivec authored Jul 23, 2018
2 parents e56d1af + a648bac commit 9599f05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/provider_foreman_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,6 @@ def add_unassigned_configuration_profile_record(provider_id)
def add_unassigned_configuration_profile_record_to_view(unassigned_profile_row, unassigned_configuration_profile)
@view.table.data.push(unassigned_profile_row)
@targets_hash[unassigned_profile_row['id']] = unassigned_configuration_profile
@grid_hash = view_to_hash(@view)
end

def update_options(options = {})
Expand Down

0 comments on commit 9599f05

Please sign in to comment.