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
e52fec9c
"app/assets/stylesheets/generic/files.scss" did not exist on "a8870e87e4cc8ce441032dc6aa3dfa6e1812090e"
Commit
e52fec9c
authored
Jan 24, 2013
by
Andrey Kumanyaev
Committed by
Dmitriy Zaporozhets
Jan 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update check If user can assign project to team
parent
6d713e84
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/controllers/teams/projects_controller.rb
app/controllers/teams/projects_controller.rb
+1
-1
No files found.
app/controllers/teams/projects_controller.rb
View file @
e52fec9c
...
...
@@ -4,7 +4,7 @@ class Teams::ProjectsController < Teams::ApplicationController
def
index
@projects
=
user_team
.
projects
@avaliable_projects
=
current_user
.
admin?
?
Project
.
without_team
(
user_team
)
:
(
Project
.
personal
(
current_user
)
+
current_user
.
projects
).
uniq
@avaliable_projects
=
current_user
.
admin?
?
Project
.
without_team
(
user_team
)
:
current_user
.
owned_projects
.
without_team
(
user_team
)
end
def
new
...
...
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