Skip to content

Commit

Permalink
add example/images/owmloading.gif direct link to assets location
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren authored and RuthNjeri committed Feb 18, 2021
1 parent 2be21d9 commit e8ef0bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/assets/javascripts/leafletHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
options.setHash = params.setHash || false;
options.mainContent = params.mainContent || ""; // "content" to show site content, default "" shows no site content
options.displayAllLayers = params.displayAllLayers || false; // turn on display for all maps available in menu
options.imageLoadingUrl = "/lib/leaflet-environmental-layers/example/images/owmloading.gif";

if (typeof options.layers === "string") {
options.layers = options.layers.split(',');
Expand Down
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
get 'feed/liked' => 'notes#liked_rss'

get 'dashboard' => 'home#dashboard'
get 'v2/dashboard' => 'home#dashboard_v2'
get '/v2/dashboard' => 'home#dashboard_v2'
get 'comments' => 'comment#index'
get 'profile/comments/:id' => 'users#comments'
get 'profile/comments/:id/tag/:tagname' => 'users#comments_by_tagname'
Expand Down

0 comments on commit e8ef0bc

Please sign in to comment.