diff --git a/app/controllers/orgs_controller.rb b/app/controllers/orgs_controller.rb index 90d50f3228..9f59e18e95 100644 --- a/app/controllers/orgs_controller.rb +++ b/app/controllers/orgs_controller.rb @@ -42,7 +42,8 @@ def admin_update @org.logo = attrs[:logo] if attrs[:logo] tab = (attrs[:feedback_enabled].present? ? "feedback" : "profile") @org.links = ActiveSupport::JSON.decode(params[:org_links]) if params[:org_links].present? - + attrs.delete(:org_links) + # Only allow super admins to change the org types and shib info if current_user.can_super_admin? identifiers = [] diff --git a/app/views/branded/layouts/application.html.erb b/app/views/branded/layouts/application.html.erb index 3b67531179..f855c9df6f 100644 --- a/app/views/branded/layouts/application.html.erb +++ b/app/views/branded/layouts/application.html.erb @@ -91,7 +91,7 @@ active_page?(user_orcid_omniauth_callback_path) %> <% unless user_signed_in? %> - <% if Rails.configuration.x.shibboleth_use_filtered_discovery_service %> + <% if Rails.configuration.x.shibboleth.use_filtered_discovery_service %> diff --git a/app/views/branded/layouts/mobile/_fixed_menu.html.erb b/app/views/branded/layouts/mobile/_fixed_menu.html.erb index eb25fed57d..2e6f7a770d 100644 --- a/app/views/branded/layouts/mobile/_fixed_menu.html.erb +++ b/app/views/branded/layouts/mobile/_fixed_menu.html.erb @@ -63,12 +63,12 @@