cms for all
This commit is contained in:
parent
eb9e580d44
commit
f1f507c30b
|
@ -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
|
||||
|
|
|
@ -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' ;
|
||||
|
|
Loading…
Reference in New Issue