Update resource_controller_extension.rb