From 26e2a2f561fe909b300970f7bd4d23121f292776 Mon Sep 17 00:00:00 2001 From: LeandroNunes Date: Sat, 20 Oct 2007 04:33:52 +0000 Subject: [PATCH] ActionItem85: fixging bgu --- app/controllers/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application.rb b/app/controllers/application.rb index def9aa1..9d8d98a 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -39,7 +39,7 @@ class ApplicationController < ActionController::Base def load_profile @profile = Profile.find_by_identifier(params[:profile]) - raise "The profile must be loaded %s" params[:profile] + raise "The profile must be loaded %s" params[:profile] if @profile.nil? end def self.acts_as_environment_admin_controller -- libgit2 0.21.2