Commit ce484fa9da2edd7e2be98600e2fe81770de31a90
1 parent
67896ea9
Exists in
master
and in
4 other branches
Fixed admin -> group -> show
Showing
4 changed files
with
4 additions
and
6 deletions
Show diff stats
app/views/admin/groups/show.html.haml
| ... | ... | @@ -76,7 +76,7 @@ |
| 76 | 76 | %tr{class: "user_#{u.id}"} |
| 77 | 77 | %td.name= link_to u.name, admin_user_path(u) |
| 78 | 78 | %td.projects_access |
| 79 | - - u.projects.in_namespace(@group).each do |project| | |
| 79 | + - u.authorized_projects.in_namespace(@group).each do |project| | |
| 80 | 80 | - u_p = u.users_projects.in_project(project).first |
| 81 | 81 | %span |
| 82 | 82 | = project.name | ... | ... |
app/views/help/markdown.html.haml
| 1 | 1 | %h3.page_title GitLab Flavored Markdown |
| 2 | 2 | .back_link |
| 3 | - = link_to help_path do | |
| 3 | + = link_to help_path do | |
| 4 | 4 | ← to index |
| 5 | 5 | %hr |
| 6 | 6 | |
| ... | ... | @@ -120,7 +120,7 @@ |
| 120 | 120 | for commits |
| 121 | 121 | |
| 122 | 122 | -# this example will only be shown if the user has a project with at least one issue |
| 123 | - - if @project = current_user.projects.first | |
| 123 | + - if @project = current_user.authorized_projects.first | |
| 124 | 124 | - if issue = @project.issues.first |
| 125 | 125 | %p For example in your #{link_to @project.name, project_path(@project)} project, writing: |
| 126 | 126 | %pre= "This is related to ##{issue.id}. @#{current_user.name} is working on solving it." | ... | ... |
features/steps/admin/admin_groups.rb