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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
f4733b00
Commit
f4733b00
authored
Oct 15, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Confirm seed users
parent
9f9be175
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
db/fixtures/development/01_admin.rb
db/fixtures/development/01_admin.rb
+2
-0
db/fixtures/production/001_admin.rb
db/fixtures/production/001_admin.rb
+1
-0
No files found.
db/fixtures/development/01_admin.rb
View file @
f4733b00
...
@@ -11,3 +11,5 @@ User.seed(:id, [
...
@@ -11,3 +11,5 @@ User.seed(:id, [
theme_id:
Gitlab
::
Theme
::
MARS
theme_id:
Gitlab
::
Theme
::
MARS
}
}
])
])
User
.
find
(
1
).
confirm!
db/fixtures/production/001_admin.rb
View file @
f4733b00
...
@@ -12,6 +12,7 @@ admin = User.create(
...
@@ -12,6 +12,7 @@ admin = User.create(
admin
.
projects_limit
=
10000
admin
.
projects_limit
=
10000
admin
.
admin
=
true
admin
.
admin
=
true
admin
.
save!
admin
.
save!
admin
.
confirm!
if
admin
.
valid?
if
admin
.
valid?
puts
%q[
puts
%q[
...
...
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