Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- match("/:permalink").defer_to do |request, params|
- unless (article = Feather::Article.find_by_permalink(params[:permalink])).nil?
- {:controller => "feather/articles", :action => "show", :id => article.id}
- end
- end
Add Comment
Please, Sign In to add comment