Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0d6c7ffe
Commit
0d6c7ffe
authored
Aug 26, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '6-0-stable' of dev.gitlab.org:gitlab/gitlabhq
parents
dc4f2528
b1bb3701
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/controllers/groups_controller.rb
app/controllers/groups_controller.rb
+0
-1
db/migrate/20130419190306_allow_merges_for_forks.rb
db/migrate/20130419190306_allow_merges_for_forks.rb
+2
-1
No files found.
app/controllers/groups_controller.rb
View file @
0d6c7ffe
...
...
@@ -89,7 +89,6 @@ class GroupsController < ApplicationController
end
def
destroy
@group
.
truncate_teams
@group
.
destroy
redirect_to
root_path
,
notice:
'Group was removed.'
...
...
db/migrate/20130419190306_allow_merges_for_forks.rb
View file @
0d6c7ffe
class
AllowMergesForForks
<
ActiveRecord
::
Migration
def
self
.
up
add_column
:merge_requests
,
:target_project_id
,
:integer
,
:null
=>
fals
e
add_column
:merge_requests
,
:target_project_id
,
:integer
,
:null
=>
tru
e
MergeRequest
.
update_all
(
"target_project_id = project_id"
)
change_column
:merge_requests
,
:target_project_id
,
:integer
,
:null
=>
false
rename_column
:merge_requests
,
:project_id
,
:source_project_id
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment