Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/app/views/browse/_map.html.erb b/app/views/browse/_map.html.erb
- index d598847..d0e5af8 100644
- --- a/app/views/browse/_map.html.erb
- +++ b/app/views/browse/_map.html.erb
- @@ -63,7 +63,7 @@
- <div id="area_edit_menu" class="menu">
- <ul>
- - <% Editors::ALL_EDITORS.each do |editor| %>
- + <% Editors::RECOMMENDED_EDITORS.each do |editor| %>
- <li><%= link_to t('layouts.edit_with', :editor => t("editor.#{editor}.description")),
- edit_path(:editor => editor),
- :data => {:editor => editor},
- @@ -74,7 +74,7 @@
- <div id="object_edit_menu" class="menu">
- <ul>
- - <% Editors::ALL_EDITORS.each do |editor| %>
- + <% Editors::RECOMMENDED_EDITORS.each do |editor| %>
- <li><%= link_to t('layouts.edit_with', :editor => t("editor.#{editor}.description")),
- edit_path(:editor => editor),
- :data => {:editor => editor},
- diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb
- index 31f87eb..a8201b9 100644
- --- a/app/views/layouts/site.html.erb
- +++ b/app/views/layouts/site.html.erb
- @@ -51,7 +51,7 @@
- </div>
- <div id="editmenu" class="menu">
- <ul>
- - <% Editors::ALL_EDITORS.each do |editor| %>
- + <% Editors::RECOMMENDED_EDITORS.each do |editor| %>
- <li><%= link_to t('layouts.edit_with',
- :editor => t("editor.#{editor}.description")),
- edit_path(:editor => editor), {
- diff --git a/lib/editors.rb b/lib/editors.rb
- index ed1de59..3b5de3d 100644
- --- a/lib/editors.rb
- +++ b/lib/editors.rb
- @@ -1,3 +1,4 @@
- module Editors
- ALL_EDITORS = [ "potlatch", "potlatch2", "remote" ]
- + RECOMMENDED_EDITORS = [ "potlatch2", "remote" ]
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement