app/controllers/dashing/widgets_controller.rb in dashing-rails-2.3.2 vs app/controllers/dashing/widgets_controller.rb in dashing-rails-2.4.0
- old
+ new
@@ -32,10 +32,10 @@
def prepend_view_paths
prepend_view_path main_app_view_path
end
def main_app_view_path
- Dashing.config.widgets_views_path.call
+ Dashing.config.widgets_views_path
end
def template_not_found
raise "Count not find template for widget #{params[:name]}. Define your widget in #{main_app_view_path}"
end