lib/ckeditor/utils.rb in glebtv-ckeditor-4.5.7 vs lib/ckeditor/utils.rb in glebtv-ckeditor-4.5.7.1
- old
+ new
@@ -69,10 +69,10 @@
def select_assets(path, relative_path)
relative_folder = Ckeditor.root_path.join(relative_path)
folder = relative_folder.join(path)
extensions = '*.{js,css,png,gif,jpg}'
- languages = (Ckeditor.assets_languages || [])
+ languages = (Ckeditor.assets_languages || ['en', 'ru'])
# Files at root
files = Dir[folder.join(extensions)]
# Filter plugins