Sha256: 28e6fa1b322d13e45d06d5bbc30e39185d42de7567f139e623583847f9e269c4

Contents?: true

Size: 271 Bytes

Versions: 1

Compression:

Stored size: 271 Bytes

Contents

class ModelsController < ApplicationController
  def index

  end
  def show
    params[:id]="c9e115a6-9c85-4e1e-a2f1-857e0bf3c3fc"
    @mbid = params[:id]
    @result=MusicBrainz::Query.new({:release=>@mbid},{:entity=>'release'},{:fetch=>'recordings'}).results
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
musicbrainz_ruby-0.1.3 tmp/rails_app/app/controllers/models_controller.rb