lib/dashing.rb in dashing-rails-2.4.0 vs lib/dashing.rb in dashing-rails-2.4.1

- old
+ new

@@ -12,10 +12,10 @@ def configure yield config if block_given? end def first_dashboard - files = Dir[config.dashboards_views_path.call.join('*')].collect { |f| File.basename(f, '.*') } + files = Dir[config.dashboards_views_path.join('*')].collect { |f| File.basename(f, '.*') } files.sort.first end def send_event(id, data) redis.publish("#{Dashing.config.redis_namespace}.create", data.merge(id: id, updatedAt: Time.now.utc.to_i).to_json)