apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.26k stars 382 forks source link

Gmaps4rails.pipeline_enabled? - working incorrectly for rails 4 #362

Closed ValMilkevich closed 11 years ago

ValMilkevich commented 11 years ago

def Gmaps4rails.pipeline_enabled? Rails.configuration.respond_to?('assets') && Rails.configuration.assets.enabled end

// Rails.configuration.assets.enabled - is deprecated

maxstudener commented 11 years ago

+1

nickveys commented 11 years ago

:+1:

PR #359 is working for me in Rails 4.0.0.

apneadiving commented 11 years ago

Thanks, I've accepted it then, even if I dont really understand it. At least it will let people proceed