Fix addon generator

This commit is contained in:
Luka Murn 2017-02-10 11:49:05 +01:00 committed by GitHub
parent e067c88a55
commit f8d8bc1a78

View file

@ -1,7 +1,7 @@
class Engine < ::Rails::Engine
engine_name '${FULL_UNDERSCORE_NAME}'
isolate_namespace ${NAME}
paths['app/views'] = 'app/views/${FOLDERS_PATH}'
paths['app/views'] << 'app/views/${FOLDERS_PATH}'
# Precompile engine-specific assets
initializer '${ADDON_NAME}.assets.precompile' do |app|