Module: UserSettingsHelper

Defined in:
app/helpers/user_settings_helper.rb

Instance Method Summary collapse

Instance Method Details

#init_user_settingsObject



7
8
9
10
11
12
13
14
# File 'app/helpers/user_settings_helper.rb', line 7

def 
  js = <<-JAVSCRIPT.strip_heredoc
    <script type="text/javascript">
      $.userSettings = $.userSettings('#{UserSettings.base_path}');
    </script>
  JAVSCRIPT
  js.html_safe
end

#javascript_include_tag_for_user_settingsObject



3
4
5
# File 'app/helpers/user_settings_helper.rb', line 3

def 
  javascript_include_tag 'user_settings'
end