Class: Dato::LiveController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/dato/live_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



3
4
5
# File 'app/controllers/dato/live_controller.rb', line 3

def show
  @data = Hashie::Mash.new(JSON.parse(params[:data], symbolize_names: true).dig(:response, :data))
end