lib/dashing/configuration.rb in dashing-rails-2.3.2 vs lib/dashing/configuration.rb in dashing-rails-2.4.0

- old
+ new

@@ -35,12 +35,12 @@ @default_dashboard = nil @dashboards_views_path = -> { Rails.root.join('app', 'views', 'dashing', 'dashboards') } @dashboard_layout_path = 'dashing/dashboard' # Widgets - @widgets_views_path = -> { Rails.root.join('app', 'views', 'dashing', 'widgets') } - @widgets_js_path = 'app/assets/javascripts/dashing' - @widgets_css_path = 'app/assets/stylesheets/dashing' + @widgets_views_path = Rails.root.join('app', 'views', 'dashing', 'widgets') + @widgets_js_path = Rails.root.join('app', 'assets', 'javascripts', 'dashing') + @widgets_css_path = Rails.root.join('app', 'assets', 'stylesheets', 'dashing') end def redis @redis ||= ::ConnectionPool::Wrapper.new(size: request_thread_count, timeout: redis_timeout) { new_redis_connection } end