summaryrefslogtreecommitdiff
path: root/app/controllers/projects_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-08 01:00:49 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-08 01:00:49 +0200
commit4d89322d6785580e9a77e2536b8f2a7db8482664 (patch)
tree79e80598cecf1410440410590657a3388307ace6 /app/controllers/projects_controller.rb
parent3d77183c160c57f51f1908bd57312344e34c8524 (diff)
downloadgitlab-ce-4d89322d6785580e9a77e2536b8f2a7db8482664.tar.gz
Snippets - fixed after bootstrap
Project - restyled show page, removed info page Repository - restyled show page, added download option Tags - added download options
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r--app/controllers/projects_controller.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index c9ffa5b72af..955d863c992 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -57,7 +57,7 @@ class ProjectsController < ApplicationController
def update
respond_to do |format|
if project.update_attributes(params[:project])
- format.html { redirect_to info_project_path(project), :notice => 'Project was successfully updated.' }
+ format.html { redirect_to edit_project_path(project), :notice => 'Project was successfully updated.' }
format.js
else
format.html { render action: "edit" }
@@ -69,17 +69,13 @@ class ProjectsController < ApplicationController
def show
return render "projects/empty" unless @project.repo_exists? && @project.has_commits?
limit = (params[:limit] || 10).to_i
-
- @activities = @project.activities(limit)#updates_wo_repo(limit)
+ @activities = @project.activities(limit)
end
def files
@notes = @project.notes.where("attachment != 'NULL'").order("created_at DESC").limit(100)
end
- def info
- end
-
#
# Wall
#