Commit 9eaeb5aac2dcbc16baf99e556daa9700cda71f28
1 parent
bf59537c
Exists in
master
and in
5 other branches
adding raking position to articles
Showing
2 changed files
with
15 additions
and
0 deletions
Show diff stats
lib/ext/entities.rb
| 1 | +require File.join(Rails.root,'lib','noosfero','api','entities') | ||
| 1 | module Noosfero | 2 | module Noosfero |
| 2 | module API | 3 | module API |
| 3 | module Entities | 4 | module Entities |
| 4 | 5 | ||
| 6 | + #FIXME make test | ||
| 7 | + class Person < Profile | ||
| 8 | + expose :ranking_position | ||
| 9 | + end | ||
| 10 | + | ||
| 5 | def self.included(base) | 11 | def self.included(base) |
| 6 | base.extend(ClassMethods) | 12 | base.extend(ClassMethods) |
| 7 | end | 13 | end |