Skip to content

Commit

Permalink
Use model_name from Valkyrie
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Jul 28, 2017
1 parent defd24c commit 3634389
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ GIT

GIT
remote: https://github.com/samvera-labs/valkyrie.git
revision: 91376007fac86b7cbe0f2a61e97d29af80d2d7f5
revision: b0d7bdf7038ba17ab5a0a599549c945989895f74
specs:
valkyrie (0.1.0)
active-fedora
Expand Down
4 changes: 0 additions & 4 deletions valhalla/app/models/concerns/valhalla/resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,5 @@ def self.human_readable_type=(val)
def human_readable_type
self.class.human_readable_type
end

def self.model_name
::ActiveModel::Name.new(self)
end
end
end

0 comments on commit 3634389

Please sign in to comment.