aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/connection_links_controller.rb
diff options
context:
space:
mode:
authorMarc Florisson2012-08-14 14:22:30 +0200
committerMarc Florisson2012-08-14 14:22:30 +0200
commit7913533a4e49fb023bfc61c2a218d0748891b4c2 (patch)
treef9970dd067effd588e58fa8693f6661b471cf22f /app/controllers/connection_links_controller.rb
parent40dd4517d2c8fe85c608d42d95d70489fb04ce02 (diff)
downloadchouette-core-7913533a4e49fb023bfc61c2a218d0748891b4c2.tar.bz2
display linestring on connection_link kml. Refs #99
Diffstat (limited to 'app/controllers/connection_links_controller.rb')
-rw-r--r--app/controllers/connection_links_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/connection_links_controller.rb b/app/controllers/connection_links_controller.rb
index dc6ba78c9..cbb8346c6 100644
--- a/app/controllers/connection_links_controller.rb
+++ b/app/controllers/connection_links_controller.rb
@@ -7,6 +7,7 @@ class ConnectionLinksController < ChouetteController
end
respond_to :html, :xml, :json
+ respond_to :kml, :only => :show
def show
@map = ConnectionLinkMap.new(resource).with_helpers(self)