Skip to content

Commit

Permalink
fix debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mrusakovich committed Jul 16, 2018
1 parent d44b190 commit 9b13371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/flexite/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ def back_to_app
def stage_select
Rails.logger.debug { Flexite.config.stages }
flexite_config = File.join(Rails.root, 'config', 'flexite.yml')
Rails.debug("CONFIG EXIST?: #{File.exist?(flexite_config)}")
Rails.logger.debug("CONFIG EXIST?: #{File.exist?(flexite_config)}")

if File.exist?(flexite_config)
stage_config = YAML.load_file(flexite_config)
Rails.debug { stage_config }
Rails.logger.debug { stage_config }
end

select_tag :stage, options_for_select(Flexite.config.stages), class: 'form-control'
Expand Down

0 comments on commit 9b13371

Please sign in to comment.