Module: Racovi::ViewHelpers

Defined in:
lib/racovi/view_helpers.rb

Instance Method Summary collapse

Instance Method Details

#init_view_jsObject



3
4
5
# File 'lib/racovi/view_helpers.rb', line 3

def init_view_js()
  javascript_tag "$(document).ready( function() { Racovi.#{controller.controller_name}();Racovi.#{controller.controller_name}_#{controller.action_name}();})"
end