fixes edit, update actions for controllers with nested resources
Merge pull request #5 from githop/quick_fix

fixes edit, update actions for controllers with nested resources