summaryrefslogtreecommitdiffstats
path: root/app/controllers/repositories_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/repositories_controller.rb')
-rw-r--r--app/controllers/repositories_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb
index 36580f43a..2557f45c8 100644
--- a/app/controllers/repositories_controller.rb
+++ b/app/controllers/repositories_controller.rb
@@ -128,7 +128,7 @@ private
end
def show_error
- flash.now[:notice] = l(:notice_scm_error)
+ flash.now[:error] = l(:notice_scm_error)
render :nothing => true, :layout => true
end