diff --git a/Gemfile.lock b/Gemfile.lock index 66b7758e..5b7293bd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -245,6 +245,3 @@ DEPENDENCIES sass stretchy unicorn - -BUNDLED WITH - 1.10.5 diff --git a/app/app.rb b/app/app.rb index 527a8dc1..1d6376b1 100644 --- a/app/app.rb +++ b/app/app.rb @@ -29,6 +29,10 @@ class App < Padrino::Application } end + get :map do + render :map, layout: true + end + get :endpoints do content_type :json endpoints = DataMagic.config.api_endpoints.keys.map { |key| diff --git a/app/views/home.liquid b/app/views/home.liquid index 3f8ae49a..76d05ed1 100644 --- a/app/views/home.liquid +++ b/app/views/home.liquid @@ -1,10 +1,18 @@ +
+
+
+
+

{{ title }}

API endpoints

-