mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-28 10:37:52 +08:00
Fix addon generator
This commit is contained in:
parent
e067c88a55
commit
f8d8bc1a78
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
class Engine < ::Rails::Engine
|
class Engine < ::Rails::Engine
|
||||||
engine_name '${FULL_UNDERSCORE_NAME}'
|
engine_name '${FULL_UNDERSCORE_NAME}'
|
||||||
isolate_namespace ${NAME}
|
isolate_namespace ${NAME}
|
||||||
paths['app/views'] = 'app/views/${FOLDERS_PATH}'
|
paths['app/views'] << 'app/views/${FOLDERS_PATH}'
|
||||||
|
|
||||||
# Precompile engine-specific assets
|
# Precompile engine-specific assets
|
||||||
initializer '${ADDON_NAME}.assets.precompile' do |app|
|
initializer '${ADDON_NAME}.assets.precompile' do |app|
|
||||||
|
|
Loading…
Reference in a new issue