Sha256: c1f2e8fc7e790dd0dcb6831ea7ade902242e612a8502850c3e9cea1b1547d6fc

Contents?: true

Size: 272 Bytes

Versions: 14

Compression:

Stored size: 272 Bytes

Contents

class C2::Informant::LocusController < C2::BaseController
  respond_to(:json)
  
  def index
    respond_with(@locus = C2::Informant::Locus.all.order(:class_name => :asc))
  end
  
  def update
    respond_with(@locus = C2::Information::Locus.find(params[:id]))
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

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