fix bug preventing the installation of locomotive as an engine
This commit is contained in:
parent
ebf183c6f6
commit
a7959a8de8
7
doc/TODO
7
doc/TODO
@ -1,9 +1,10 @@
|
|||||||
BOARD:
|
BOARD:
|
||||||
|
|
||||||
- bugs:
|
x bugs:
|
||||||
- #50
|
x #50
|
||||||
- #51
|
x #51
|
||||||
~ editable_elements: inheritable: false (Mattias) => seems to be fixed by Dirk's last pull request (#44) => content tag
|
~ editable_elements: inheritable: false (Mattias) => seems to be fixed by Dirk's last pull request (#44) => content tag
|
||||||
|
- upgrade warning if new version of locomotive (maybe based on the commit id)
|
||||||
- duostack version
|
- duostack version
|
||||||
- 2 different sites on the same main domain (one in www, the other one in something else) (Raphael Costa)
|
- 2 different sites on the same main domain (one in www, the other one in something else) (Raphael Costa)
|
||||||
- seo section for the page form: seo title, seo keywords, seo description
|
- seo section for the page form: seo title, seo keywords, seo description
|
||||||
|
@ -58,8 +58,12 @@ module Locomotive
|
|||||||
Devise.mailer_sender = self.config.mailer_sender
|
Devise.mailer_sender = self.config.mailer_sender
|
||||||
|
|
||||||
# Load all the dynamic classes (custom fields)
|
# Load all the dynamic classes (custom fields)
|
||||||
ContentType.all.collect(&:fetch_content_klass)
|
begin
|
||||||
AssetCollection.all.collect(&:fetch_asset_klass)
|
ContentType.all.collect(&:fetch_content_klass)
|
||||||
|
AssetCollection.all.collect(&:fetch_asset_klass)
|
||||||
|
rescue ::Mongoid::Errors::InvalidDatabase => e
|
||||||
|
# let assume it's because of the first install (meaning no config.yml file)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.logger(message)
|
def self.logger(message)
|
||||||
|
Loading…
Reference in New Issue
Block a user