OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rails upgrade to 4
[pettanr/pettanr.git]
/
lib
/
locmare
/
list_group
/
list
/
filter.rb
diff --git
a/lib/locmare/list_group/list/filter.rb
b/lib/locmare/list_group/list/filter.rb
index
846d60f
..
b2d4bf8
100644
(file)
--- a/
lib/locmare/list_group/list/filter.rb
+++ b/
lib/locmare/list_group/list/filter.rb
@@
-31,6
+31,11
@@
module Locmare
r
end
+ def arel
+ r = @model
+ return @model.__send__('find_' + @action_name, self.filter_id)
+ end
+
end
end