Sha256: 837f9ff26aa9ea70a9f86c04fab8cae2807378af766098f7d36a0a04625249c5
Contents?: true
Size: 261 Bytes
Versions: 58
Compression:
Stored size: 261 Bytes
Contents
class ConversationsController < ApplicationController respond_to :html, :json def show id = params[:id].to_i @widget = { id: id, message_ids: [1, 2, 3, 4, 5].map { |x| 100*id + x } } # sleep 1 respond_with @widget end end
Version data entries
58 entries across 58 versions & 1 rubygems