Commit bf913ea9109e70234c0bc8778ebeb36f75e8ebab
1 parent
26e2a2f5
Exists in
master
and in
29 other branches
ActionItem85: fixging bgu
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@779 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/application.rb
@@ -39,7 +39,7 @@ class ApplicationController < ActionController::Base | @@ -39,7 +39,7 @@ class ApplicationController < ActionController::Base | ||
39 | 39 | ||
40 | def load_profile | 40 | def load_profile |
41 | @profile = Profile.find_by_identifier(params[:profile]) | 41 | @profile = Profile.find_by_identifier(params[:profile]) |
42 | - raise "The profile must be loaded %s" params[:profile] if @profile.nil? | 42 | + raise "The profile must be loaded %s" % params[:profile] if @profile.nil? |
43 | end | 43 | end |
44 | 44 | ||
45 | def self.acts_as_environment_admin_controller | 45 | def self.acts_as_environment_admin_controller |