rails修改请求的后缀(.html) 1 修改请求方式参照:http://stackoverflow.com/questions/2456219/add-a-custom-format-in-rails-that-will-work-with-respond-to
# add in Environment.rbMime::Type.register "text/markdown", :markdown