Sha256: aac6d63e27ec7fe7742d9484c75b88ad88c1eb810c88ae0d205abf12b23f3077

Contents?: true

Size: 394 Bytes

Versions: 3

Compression:

Stored size: 394 Bytes

Contents

module ApplicationHelper
  
  def gmaps4rails_map(builder, options = {})
    render :partial => 'gmaps4rails/gmaps4rails', :locals => { :builder => builder, :options => options }
  end
  
  def gmaps4rails(builder, options = {})
    options.merge!({ "processing" => 'json' })
    render :partial => 'gmaps4rails/gmaps4rails', :locals => { :builder => builder, :options => options }
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gmaps4rails-0.5.0 lib/application_helper.rb
gmaps4rails-0.4.1 lib/application_helper.rb
gmaps4rails-0.4.0 lib/application_helper.rb