Merge pull request #6178 from betagouv/fix-manager
SuperAdmin : réparation du manager après la mise à jour à Rails 6.1.3.2 (#6178)
This commit is contained in:
commit
fb75f9d133
3 changed files with 19 additions and 16 deletions
2
Gemfile
2
Gemfile
|
@ -5,7 +5,7 @@ gem 'active_link_to' # Automatically set a class on active links
|
||||||
gem 'active_model_serializers'
|
gem 'active_model_serializers'
|
||||||
gem 'activestorage-openstack'
|
gem 'activestorage-openstack'
|
||||||
gem 'active_storage_validations'
|
gem 'active_storage_validations'
|
||||||
gem 'administrate'
|
gem 'administrate', git: 'https://github.com/thoughtbot/administrate.git', ref: 'refs/pull/1972/head' # Provides an administration UI (pull request #1972 has fixes for Rails 6.1.3.2)
|
||||||
gem 'after_party'
|
gem 'after_party'
|
||||||
gem 'anchored'
|
gem 'anchored'
|
||||||
gem 'bcrypt'
|
gem 'bcrypt'
|
||||||
|
|
31
Gemfile.lock
31
Gemfile.lock
|
@ -6,6 +6,22 @@ GIT
|
||||||
open4 (~> 1.3.4)
|
open4 (~> 1.3.4)
|
||||||
rake
|
rake
|
||||||
|
|
||||||
|
GIT
|
||||||
|
remote: https://github.com/thoughtbot/administrate.git
|
||||||
|
revision: 27404f6bbbfa8ae7227ff205ac8cc4ad194194dd
|
||||||
|
ref: refs/pull/1972/head
|
||||||
|
specs:
|
||||||
|
administrate (0.15.0)
|
||||||
|
actionpack (>= 5.0)
|
||||||
|
actionview (>= 5.0)
|
||||||
|
activerecord (>= 5.0)
|
||||||
|
datetime_picker_rails (~> 0.0.7)
|
||||||
|
jquery-rails (>= 4.0)
|
||||||
|
kaminari (>= 1.0)
|
||||||
|
momentjs-rails (~> 2.8)
|
||||||
|
sassc-rails (~> 2.1)
|
||||||
|
selectize-rails (~> 0.6)
|
||||||
|
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
|
@ -86,17 +102,6 @@ GEM
|
||||||
zeitwerk (~> 2.3)
|
zeitwerk (~> 2.3)
|
||||||
addressable (2.7.0)
|
addressable (2.7.0)
|
||||||
public_suffix (>= 2.0.2, < 5.0)
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
administrate (0.14.0)
|
|
||||||
actionpack (>= 4.2)
|
|
||||||
actionview (>= 4.2)
|
|
||||||
activerecord (>= 4.2)
|
|
||||||
autoprefixer-rails (>= 6.0)
|
|
||||||
datetime_picker_rails (~> 0.0.7)
|
|
||||||
jquery-rails (>= 4.0)
|
|
||||||
kaminari (>= 1.0)
|
|
||||||
momentjs-rails (~> 2.8)
|
|
||||||
sassc-rails (~> 2.1)
|
|
||||||
selectize-rails (~> 0.6)
|
|
||||||
aes_key_wrap (1.1.0)
|
aes_key_wrap (1.1.0)
|
||||||
after_party (1.11.2)
|
after_party (1.11.2)
|
||||||
anchored (1.1.0)
|
anchored (1.1.0)
|
||||||
|
@ -107,8 +112,6 @@ GEM
|
||||||
attr_encrypted (3.1.0)
|
attr_encrypted (3.1.0)
|
||||||
encryptor (~> 3.0.0)
|
encryptor (~> 3.0.0)
|
||||||
attr_required (1.0.1)
|
attr_required (1.0.1)
|
||||||
autoprefixer-rails (10.2.4.0)
|
|
||||||
execjs
|
|
||||||
axe-matchers (2.6.1)
|
axe-matchers (2.6.1)
|
||||||
dumb_delegator (~> 0.8)
|
dumb_delegator (~> 0.8)
|
||||||
virtus (~> 1.0)
|
virtus (~> 1.0)
|
||||||
|
@ -772,7 +775,7 @@ DEPENDENCIES
|
||||||
active_model_serializers
|
active_model_serializers
|
||||||
active_storage_validations
|
active_storage_validations
|
||||||
activestorage-openstack
|
activestorage-openstack
|
||||||
administrate
|
administrate!
|
||||||
after_party
|
after_party
|
||||||
anchored
|
anchored
|
||||||
annotate
|
annotate
|
||||||
|
|
|
@ -16,7 +16,7 @@ as defined by the routes in the `admin/` namespace
|
||||||
|
|
||||||
<%= link_to(
|
<%= link_to(
|
||||||
display_resource_name(resource),
|
display_resource_name(resource),
|
||||||
[namespace, resource.path],
|
resource_index_route(resource),
|
||||||
class: "navigation__link navigation__link--#{nav_link_state(resource)}"
|
class: "navigation__link navigation__link--#{nav_link_state(resource)}"
|
||||||
) %>
|
) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue