config/routes.rb in gmaps4rails-0.0.2 vs config/routes.rb in gmaps4rails-0.0.3
- old
+ new
@@ -1,11 +1,11 @@
-Rails.application.routes.draw do |map|
+Rails.application.routes.draw do
mount_at = Gmaps4rails::Engine.config.mount_at
match mount_at => 'gmaps4rails/gmaps#index'
- map.resources :gmaps, :only => [ :index, :show ],
+ map.resources :gmaps, :only => [ :index ],
:controller => "gmaps4rails/gmaps",
:path_prefix => mount_at#,
#:name_prefix => "gmaps4rails_"
end