Created
January 18, 2012 21:14
-
-
Save jcoyne/1635701 to your computer and use it in GitHub Desktop.
ActiveFedora::Model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ActiveFedora | |
module Model | |
def classname_from_uri(uri) | |
super(map_model_name(uri)) | |
end | |
def to_class_uri | |
map_model_name(super) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment