Update controller_extensions.rb