Replace params[:controller] with controller_name