Sha256: ab542a845d4599a4cc8847b92ebfdcdc58ad57dffb67ef4cfc55d29e803a7ff5

Contents?: true

Size: 289 Bytes

Versions: 14

Compression:

Stored size: 289 Bytes

Contents

class C2::Informant::BucketsController < C2::BaseController
  respond_to(:json)
  
  def index
    respond_with(@locus = C2::Informant::Locus.find(params[:locus_id]).buckets)
  end
  
  def update
    respond_with(@locus = C2::Information::Locus.find(params[:locus_id]).buckets)
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
c2-0.1.13 app/controllers/c2/informant/buckets_controller.rb
c2-0.1.12 app/controllers/c2/informant/buckets_controller.rb
c2-0.1.11 app/controllers/c2/informant/buckets_controller.rb
c2-0.1.10 app/controllers/c2/informant/buckets_controller.rb
c2-0.1.9 app/controllers/c2/informant/buckets_controller.rb
c2-0.1.8 app/controllers/c2/informant/buckets_controller.rb
c2-0.1.7 app/controllers/c2/informant/buckets_controller.rb
c2-0.1.6 app/controllers/c2/informant/buckets_controller.rb
c2-0.1.5 app/controllers/c2/informant/buckets_controller.rb
c2-0.1.4 app/controllers/c2/informant/buckets_controller.rb
c2-0.1.3 app/controllers/c2/informant/buckets_controller.rb
c2-0.1.2 app/controllers/c2/informant/buckets_controller.rb
c2-0.1.1 app/controllers/c2/informant/buckets_controller.rb
c2-0.1.0 app/controllers/c2/informant/buckets_controller.rb