class SwitchEnvironmentController < ActionController::Base
def index
readme_path = File.expand_path File.join(File.dirname(__FILE__), '..', 'README')
render :status => 500, :locals => {:readme_path => readme_path }, :inline => <
Start your server in a different environment or see <%= readme_path %> for information regarding how to change this behavior.
END end end