Skip to content

Commit

Permalink
Changed subject controlled vocabulary to use QA::Loc
Browse files Browse the repository at this point in the history
  • Loading branch information
Trey Terrell committed Dec 27, 2013
1 parent 580edda commit 6472719
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/oregon_digital/controlled_vocabularies/subject.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ class Subject < OregonDigital::RDF::RdfResource

use_vocabulary :lcsh

class QaLcsh < Qa::Authorities::Lcsh
class QaLcsh < Qa::Authorities::Loc
def search(q, sub_authority=nil)
super(q, 'subjects')
end
def get_id_from_url(url)
url
end
Expand Down

0 comments on commit 6472719

Please sign in to comment.