Sha256: bb0d7ee36ae39ec48b414c36292ddd10117b22c1bd6e8b50b6654885a756ac0e
Contents?: true
Size: 314 Bytes
Versions: 2
Compression:
Stored size: 314 Bytes
Contents
module Gmaps4rails class GmapsController < ApplicationController #unloadable def index @model = params["model"] if @model.constantize.is_gmappable? == true @objects = @model.constantize.gmaps4rails_filter(params["filter"], params["options"]) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gmaps4rails-0.0.4 | app/controllers/gmaps4rails/gmaps_controller.rb |
gmaps4rails-0.0.3 | app/controllers/gmaps4rails/gmaps_controller.rb |