with_options to DRY up route creation


/ Published in: Ruby
Save to your folder(s)

used to remove unnecessary duplication of code. Code is from Jamis Buck (http://weblog.jamisbuck.org/2007/1/24/object-with_options)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.