I'm trying develop a reddit style site which allows users to vote on links. The voting feature goes beyond basic CRUD supported by resources :links I've written the up/down actions and linked them to the view but I'm not sure how to handle routing. Could someone demonstrate how I would route to custom controller actions? I've attached my files below. Thanks
I receive this error when I load the view
No route matches {:controller=>"links", :action=>"up"}
Links Controller https://gist.github.com/1272577