app/controllers/dashing/widgets_controller.rb in dashing-rails-2.4.0 vs app/controllers/dashing/widgets_controller.rb in dashing-rails-2.4.1
- old
+ new
@@ -6,10 +6,10 @@
before_filter :prepend_view_paths, only: :show
rescue_from ActionView::MissingTemplate, with: :template_not_found
def show
- render file: widget_path
+ render file: widget_path, layout: false
end
def update
data = params[:widget] || {}
hash = data.merge(id: params[:name], updatedAt: Time.now.utc.to_i)