Hi, this blog is no longer maintained, my new blog is here

Ruby On Rails and a Conning Israeli entrepreneur

Rails Tip: URLs ending with .html

This is not a must by all means, just for the hack of it.

add to ApplicationController

def default_url_options(options)
{ :format => 'html' }
end


and you don't need any routes.rb changes.

0 comments:


The Web Ask eizesus.com

Subscribe

    follow me on Twitter

    Twiters Around

    About Me

    My photo
    I am a web developer for more than 9 years, managed, cried, coded, designed and made money in this industry. now trying to do it again.

    Labels