File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -16,23 +16,10 @@ defmodule AtomicWeb.Config do
1616 if has_permissions? ( current_user , current_organization ) do
1717 admin_pages ( current_organization )
1818 else
19- user_pages ( )
19+ default_pages ( )
2020 end
2121 end
2222
23- def user_pages do
24- default_pages ( ) ++
25- [
26- % {
27- key: :scanner ,
28- title: "Scanner" ,
29- icon: "hero-qr-code" ,
30- url: ~p" /scanner" ,
31- tabs: [ ]
32- }
33- ]
34- end
35-
3623 def admin_pages ( current_organization ) do
3724 default_pages ( ) ++
3825 [
@@ -56,13 +43,6 @@ defmodule AtomicWeb.Config do
5643 icon: "hero-user-group" ,
5744 url: ~p" /organizations/#{ current_organization } /partners" ,
5845 tabs: [ ]
59- } ,
60- % {
61- key: :scanner ,
62- title: "Scanner" ,
63- icon: "hero-qr-code" ,
64- url: ~p" /scanner" ,
65- tabs: [ ]
6646 }
6747 ]
6848 end
You can’t perform that action at this time.
0 commit comments