Sha256: 0b0a8e9f3f6ca08af135019a48880bd2e33f4f6426581e81a3843c0df5a62068
Contents?: true
Size: 571 Bytes
Versions: 1
Compression:
Stored size: 571 Bytes
Contents
class User < ActiveRecord::Base acts_as_gmappable def gmaps4rails_address sec_address end # def gmaps4rails_infowindow "My Beautiful Name: #{name}" end # def gmaps4rails_marker_picture # { # "picture" => "http://www.blankdots.com/img/github-32x32.png", # "width" => "32", # "height" => "32" # } # end # # def gmaps4rails_title # "Sweet Title" # end # # def gmaps4rails_sidebar # "<b>#{name}</b>" # end # # def gmaps4rails_infowindow # "je suis l'infowindow de #{name}" # end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gmaps4rails-0.8.7 | test/dummy/app/models/user.rb |