Skip to content

Commit

Permalink
support role
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Sep 13, 2024
1 parent f073190 commit 520d468
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GIT
remote: https://github.com/work-design/rails_auth.git
revision: f5d4099eb7cee311e5c68178b061e55c581675cd
revision: 48471cd3dd9c7401dc675bd14bdd7302eb7f7745
specs:
rails_auth (1.2.0)
bcrypt (~> 3.1)
Expand All @@ -9,7 +9,7 @@ GIT

GIT
remote: https://github.com/work-design/rails_com.git
revision: 7a7c4157a59e6a0ece94f0be988344d155b33ed9
revision: 3f1cc7a0f7d36399486640d8d7c4d4b366cd76f2
specs:
rails_com (1.3.0)
acme-client
Expand All @@ -30,7 +30,7 @@ GIT

GIT
remote: https://github.com/work-design/rails_design.git
revision: e84f70c6d06b0f4e73dec5bd54159586f8489721
revision: dbc2bf1e5b1a0ea84db5149700802d97f7a390a6
specs:
rails_design (0.0.1)
rails
Expand Down Expand Up @@ -137,10 +137,10 @@ GEM
erubi (1.13.0)
et-orbi (1.2.11)
tzinfo
faraday (2.10.1)
faraday-net_http (>= 2.0, < 3.2)
faraday (2.11.0)
faraday-net_http (>= 2.0, < 3.4)
logger
faraday-net_http (3.1.1)
faraday-net_http (3.3.0)
net-http
faraday-retry (2.2.1)
faraday (~> 2.0)
Expand Down Expand Up @@ -291,7 +291,7 @@ GEM
railties (>= 6.0.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uri (0.13.0)
uri (0.13.1)
useragent (0.16.10)
webrick (1.8.1)
websocket-driver (0.7.6)
Expand Down Expand Up @@ -345,8 +345,8 @@ CHECKSUMS
drb (2.2.1) sha256=e9d472bf785f558b96b25358bae115646da0dbfd45107ad858b0bc0d935cb340
erubi (1.13.0) sha256=fca61b47daefd865d0fb50d168634f27ad40181867445badf6427c459c33cd62
et-orbi (1.2.11) sha256=d26e868cc21db88280a9ec1a50aa3da5d267eb9b2037ba7b831d6c2731f5df64
faraday (2.10.1) sha256=6bc9fba3f6191684449d94215195b2c43e2a07bd40b321d245881450923d9a80
faraday-net_http (3.1.1) sha256=da93f0f426f4de2c09af0a9a95887726da7889b76eca2a2aff0ce5e66e768938
faraday (2.11.0)
faraday-net_http (3.3.0)
faraday-retry (2.2.1) sha256=4146fed14549c0580bf14591fca419a40717de0dd24f267a8ec2d9a728677608
ffi (1.17.0) sha256=51630e43425078311c056ca75f961bb3bda1641ab36e44ad4c455e0b0e4a231c
fugit (1.11.1) sha256=e89485e7be22226d8e9c6da411664d0660284b4b1c08cacb540f505907869868
Expand Down Expand Up @@ -413,7 +413,7 @@ CHECKSUMS
timeout (0.4.1) sha256=6f1f4edd4bca28cffa59501733a94215407c6960bd2107331f0280d4abdebb9a
turbo-rails (2.0.6) sha256=e5fd7b2fd11d24f202c5d33597d291767491b9938563d4edbd4a174166eba35b
tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
uri (0.13.0) sha256=26553c2a9399762e1e8bebd4444b4361c4b21298cf1c864b22eeabc9c4998f24
uri (0.13.1)
useragent (0.16.10) sha256=1794380d9ea5c087d687bbfe14752f81839293f238c1132ef05c9344f09e65bb
webrick (1.8.1) sha256=19411ec6912911fd3df13559110127ea2badd0c035f7762873f58afc803e158f
websocket-driver (0.7.6) sha256=f69400be7bc197879726ad8e6f5869a61823147372fd8928836a53c2c741d0db
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/_notice_nav.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div data-controller="menu" class="menu ex-accordion is-active">
<div data-controller="menu" class="<%= role_permit?(business: 'notice', namespace: 'admin') ? 'menu ex-accordion is-active' : 'display-none' %>">
<div class="menu-label">
<div>
<i class="fa-solid fa-fw fa-inbox"></i>
Expand Down

0 comments on commit 520d468

Please sign in to comment.