Skip to content
Browse files

[PRESENTERS] Added helper #presenters for nested presenters

  • Loading branch information...
1 parent bbc7a35 commit 0ae5787849cadcee6339372c16343f70cf1065c2 @hosh hosh committed Feb 14, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/intermodal/mapping/mapper.rb
View
4 lib/intermodal/mapping/mapper.rb
@@ -58,6 +58,10 @@ def map_attribute(resource, mapped_to)
end
end
+ def presenters
+ self.api.presenters
+ end
+
end
end

0 comments on commit 0ae5787

Please sign in to comment.
Something went wrong with that request. Please try again.