trabajo-afectivo/config/initializers/logo.rb

7 lines
197 B
Ruby
Raw Normal View History

2014-11-19 22:45:37 +00:00
# sync logo to fs / only if settings already exists
if ActiveRecord::Base.connection.tables.include?('settings')
2015-09-25 18:35:36 +00:00
if Setting.column_names.include?('state_current')
StaticAssets.sync
end
end