Properly merged palettes_controller.rb.