Permalink
Browse files

Use pk instead of id, as pk is the standard in sequel

  • Loading branch information...
1 parent 564f3e4 commit c21d5aa799c468f96feacd8a708b20c8988fce47 Lori committed Dec 19, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 merb_sequel/lib/merb_sequel.rb
@@ -15,7 +15,7 @@ def self.run
require File.join(File.dirname(__FILE__) / "merb" / "session" / "sequel_session")
end
- Merb::Router.root_behavior = Merb::Router.root_behavior.identify(Sequel::Model => :id)
+ Merb::Router.root_behavior = Merb::Router.root_behavior.identify(Sequel::Model => :pk)
end
end

0 comments on commit c21d5aa

Please sign in to comment.