Module: WipHelper

Defined in:
app/helpers/wip_helper.rb

Instance Method Summary collapse

Instance Method Details

#wip(&block) ⇒ Object



2
3
4
# File 'app/helpers/wip_helper.rb', line 2

def wip(&block)
  capture(&block) if Rails.env.test? || Rails.env.development? || params[:wip] == "true"
end