diff --git a/app/controllers/contributions_controller.rb b/app/controllers/contributions_controller.rb index cba11358f..768d73d9a 100644 --- a/app/controllers/contributions_controller.rb +++ b/app/controllers/contributions_controller.rb @@ -29,7 +29,7 @@ class InvalidRevisionParam < Exception; end class ContributionsController < ApplicationController include ApplicationHelper - menu_item :repository + menu_item :contribution menu_item :settings, :only => [:new, :create, :edit, :update, :destroy, :committers] default_search_scope :changesets @@ -537,7 +537,7 @@ update # update_commits_date(@project, @changesets_latest_coimmit) # end - render :layout => 'base_projects' + render :action => 'show', :layout => 'base_projects' end end diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index 2ce1f6c23..0157414e4 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -537,7 +537,7 @@ update update_commits_date(@project, @changesets_latest_coimmit) end - render :action => 'show', :layout => 'base_projects' + render :layout => 'base_projects' end end diff --git a/app/views/contributions/show.html.erb b/app/views/contributions/show.html.erb index 32860cad6..393014731 100644 --- a/app/views/contributions/show.html.erb +++ b/app/views/contributions/show.html.erb @@ -1,70 +1,2 @@ -