cms for all

This commit is contained in:
Torsten 2023-01-29 13:19:14 +02:00
parent eb9e580d44
commit f1f507c30b
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ module ApplicationHelper
end
def member_memu
items =[["/forum" ,"Forum"] , [main_app.settings_members_path , "Settings"]]
if current_member.admin? and !Rails.env.production?
if !Rails.env.production?
items << [merged.pages_path(), "CMS" ]
end
items

View File

@ -2,7 +2,7 @@ const defaultTheme = require('tailwindcss/defaultTheme')
const execSync = require('child_process').execSync;
const output = execSync('bundle show merged', { encoding: 'utf-8' });
const fullname = output.trim() + '/app/**/*.{haml,html,rb}' ;
const fullname = output.trim() + '/**/*.{haml,html,rb}' ;
const output2 = execSync('bundle show simple_form_tailwind_css', { encoding: 'utf-8' });
const fullname2 = output2.trim() + '/lib/**/*.rb' ;