wip
This commit is contained in:
parent
c037cf8311
commit
045eab97ca
@ -4,9 +4,10 @@
|
|||||||
Forum
|
Forum
|
||||||
%a.block.rounded-lg.px-4.py-2.text-sm.text-gray-500.hover:bg-gray-50.hover:text-gray-700{:href => main_app.member_path(current_member), :role => "menuitem"}
|
%a.block.rounded-lg.px-4.py-2.text-sm.text-gray-500.hover:bg-gray-50.hover:text-gray-700{:href => main_app.member_path(current_member), :role => "menuitem"}
|
||||||
Profile
|
Profile
|
||||||
- if current_member.admin?
|
- unless Rails.env.production?
|
||||||
%a.block.rounded-lg.px-4.py-2.text-sm.text-gray-500.hover:bg-gray-50.hover:text-gray-700{:href => merged.pages_path(), :role => "menuitem"}
|
- if current_member.admin?
|
||||||
CMS
|
%a.block.rounded-lg.px-4.py-2.text-sm.text-gray-500.hover:bg-gray-50.hover:text-gray-700{:href => merged.pages_path(), :role => "menuitem"}
|
||||||
|
CMS
|
||||||
= form_tag( main_app.destroy_member_session_path , {method: :delete } ) do
|
= form_tag( main_app.destroy_member_session_path , {method: :delete } ) do
|
||||||
%button.flex.w-full.items-center.gap-2.rounded-lg.px-4.py-2.text-sm.text-blue-700.hover:bg-red-50{:role => "menuitem", :type => "submit"}
|
%button.flex.w-full.items-center.gap-2.rounded-lg.px-4.py-2.text-sm.text-blue-700.hover:bg-red-50{:role => "menuitem", :type => "submit"}
|
||||||
%svg.h-4.w-4{:fill => "none", :stroke => "currentColor", "stroke-width" => "2", :viewbox => "0 0 24 24", :xmlns => "http://www.w3.org/2000/svg"}
|
%svg.h-4.w-4{:fill => "none", :stroke => "currentColor", "stroke-width" => "2", :viewbox => "0 0 24 24", :xmlns => "http://www.w3.org/2000/svg"}
|
||||||
|
@ -55,8 +55,8 @@ task :deploy do
|
|||||||
invoke :'deploy:link_shared_paths'
|
invoke :'deploy:link_shared_paths'
|
||||||
invoke :'bundle:install'
|
invoke :'bundle:install'
|
||||||
invoke :'rails:assets_precompile'
|
invoke :'rails:assets_precompile'
|
||||||
invoke :'deploy:cleanup'
|
|
||||||
invoke :'rails:db_migrate'
|
invoke :'rails:db_migrate'
|
||||||
|
invoke :'deploy:cleanup'
|
||||||
|
|
||||||
on :launch do
|
on :launch do
|
||||||
in_path(fetch(:current_path)) do
|
in_path(fetch(:current_path)) do
|
||||||
|
Loading…
Reference in New Issue
Block a user