Permalink
Browse files

Remove hack

  • Loading branch information...
1 parent 5f548da commit 857ce956540d928ca34f035ae4f48224c3b740dc @wojciech wojciech committed May 5, 2010
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/route_mapper.rb
View
@@ -31,7 +31,8 @@ def map_sdata_collection
# http://localhost:3000/sdata/billingboss/crmErp/-/tradingAccounts/$linked
def map_sdata_collection_with_condition
- map_route "#{name_in_path}\/$linked", 'sdata_collection', :get
+ # map_route "#{name_in_path}\/$linked", 'sdata_collection', :get
+ map_route "#{name_in_path}\/{:condition,([$](linked))}", 'sdata_collection', :get
end
# http://localhost:3000/sdata/billingboss/crmErp/-/tradingAccounts(name eq 'asdf')
@@ -105,4 +106,4 @@ def prefix?
!! prefix
end
end
-end
+end

0 comments on commit 857ce95

Please sign in to comment.