]> git.openstreetmap.org Git - rails.git/blob - lib/object_finder.rb
Rewrite /0.n/... as /api/0.n/... for the api virtual host.
[rails.git] / lib / object_finder.rb
1 module ObjectFinder
2   def visible
3     find :all, :conditions => "#{proxy_reflection.table_name}.visible = 1"
4   end
5 end