module Aloha::Rails::Local

Public Instance Methods

aloha_local(options = {}) click to toggle source
# File lib/aloha/rails/local.rb, line 17
def aloha_local(options = {})
  aloha_script_tag_url(local_script_url, (options[:script] || {})) + aloha_stylesheet_tag_url(local_stylesheet_url, (options[:stylesheet] || {}))
end
aloha_require_local(options = {}) click to toggle source
# File lib/aloha/rails/local.rb, line 21
def aloha_require_local(options = {})
  aloha_require(local_base_url, options)
end