Module: Fdbq::Rails::Helpers

Defined in:
lib/fdbq/rails/helpers.rb

Instance Method Summary collapse

Instance Method Details

#fdbq_renderObject



8
9
10
# File 'lib/fdbq/rails/helpers.rb', line 8

def fdbq_render
  javascript_tag "(new Fdbq(#{Fdbq.current_instance.to_json})).init();"
end

#fdbq_responsesObject



4
5
6
# File 'lib/fdbq/rails/helpers.rb', line 4

def fdbq_responses
  Fdbq::Feedback.all
end