From: Adam Hoyle Date: Mon, 27 Sep 2021 18:30:25 +0000 (+0100) Subject: Merge branch 'master' into feature/add-communities-page X-Git-Tag: live~1840^2~33 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/06c2db433d63ebd0e5a83cb6b68a29a6ca1d5050?hp=-c Merge branch 'master' into feature/add-communities-page --- 06c2db433d63ebd0e5a83cb6b68a29a6ca1d5050 diff --combined app/abilities/ability.rb index ec32a4607,769fbca47..f33ce182d --- a/app/abilities/ability.rb +++ b/app/abilities/ability.rb @@@ -7,7 -7,7 +7,7 @@@ class Abilit can [:relation, :relation_history, :way, :way_history, :node, :node_history, :changeset, :note, :new_note, :query], :browse can :search, :direction - can [:index, :permalink, :edit, :help, :fixthemap, :offline, :export, :about, :preview, :copyright, :key, :id], :site + can [:index, :permalink, :edit, :help, :fixthemap, :offline, :export, :about, :communities, :preview, :copyright, :key, :id], :site can [:finish, :embed], :export can [:search, :search_latlon, :search_ca_postcode, :search_osm_nominatim, :search_geonames, :search_osm_nominatim_reverse, :search_geonames_reverse], :geocoder @@@ -42,6 -42,7 +42,7 @@@ can [:index, :new, :create, :show, :edit, :update, :destroy], :oauth2_application can [:index, :destroy], :oauth2_authorized_application can [:new, :show, :create, :destroy], :oauth2_authorization + can [:show], :dashboard can [:new, :create, :edit, :update, :comment, :subscribe, :unsubscribe], DiaryEntry can [:make_friend, :remove_friend], Friendship can [:new, :create, :reply, :show, :inbox, :outbox, :mark, :destroy], Message diff --combined app/views/layouts/_header.html.erb index bd1c10c39,192b07614..e9e88c1e0 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@@ -50,9 -50,6 +50,9 @@@ + @@@ -75,7 -72,6 +75,7 @@@ <% end %>
  • <%= link_to t("layouts.gps_traces"), traces_path, :class => "dropdown-item" %>
  • <%= link_to t("layouts.user_diaries"), diary_entries_path, :class => "dropdown-item" %>
  • +
  • <%= link_to t("layouts.communities"), communities_path, :class => "dropdown-item" %>
  • <%= link_to t("layouts.copyright"), copyright_path, :class => "dropdown-item" %>
  • <%= link_to t("layouts.help"), help_path, :class => "dropdown-item" %>
  • <%= link_to t("layouts.about"), about_path, :class => "dropdown-item" %>
  • @@@ -94,6 -90,7 +94,7 @@@