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
2015-12-03 15:39:52 +00:00
if ActiveRecord::Base.connection.tables.include?('settings')
if Setting.column_names.include?('state_current')
StaticAssets.sync
end
end