Ruby on Rails / How to change controller name

Things to take care of when changing controller name
  • Controller name and optionally directory name
  • Controller class name in class XxxController < ApplicationController
  • Associated routes in routes.rb
  • *_path and *_url URL helper instances

2 comments:

  1. Wow that was strange. I just wrote an incredibly long comment
    but after I clicked submit my commesnt didn't show up. Grrrr...

    well I'm not writing all that over again. Regardless, just wanted to say wonderful blog!

    ReplyDelete
  2. thank you thank you!

    ReplyDelete