Update controller_methods.rb