Skip to content

Commit

Permalink
remove unnecessary IndicatorsLogic::retrive_data from controller
Browse files Browse the repository at this point in the history
  • Loading branch information
marutosi committed Jan 23, 2013
1 parent fff2709 commit 7637b35
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/controllers/ratios_controller.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ def index
respond_to do |format| respond_to do |format|
format.html do format.html do
@evms = [] @evms = []
data = IndicatorsLogic::retrive_data(@project)
@evms << evm(@project) @evms << evm(@project)
@project.versions.where(:status=>"open").each do |my_version| @project.versions.where(:status=>"open").each do |my_version|
data = IndicatorsLogic::retrive_data(my_version)
evm_hash = evm(my_version) evm_hash = evm(my_version)
evm_hash[:version] = my_version evm_hash[:version] = my_version
@evms << evm_hash @evms << evm_hash
Expand Down

0 comments on commit 7637b35

Please sign in to comment.