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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
8426846d
Commit
8426846d
authored
Dec 12, 2011
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix default branch
parent
04a908f6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
app/assets/stylesheets/projects.css.scss
app/assets/stylesheets/projects.css.scss
+1
-2
app/controllers/projects_controller.rb
app/controllers/projects_controller.rb
+0
-1
app/helpers/application_helper.rb
app/helpers/application_helper.rb
+1
-1
No files found.
app/assets/stylesheets/projects.css.scss
View file @
8426846d
...
...
@@ -548,9 +548,8 @@ h4.dash-tabs {
h4
.middle-panel
{
margin
:
0
;
border-bottom
:
1px
solid
#ccc
;
padding
:
10px
1
0px
;
padding
:
10px
2
0px
;
font-size
:
11px
;
padding-left
:
20px
;
background
:
#F7F7F7
;
height
:
30px
;
...
...
app/controllers/projects_controller.rb
View file @
8426846d
...
...
@@ -9,7 +9,6 @@ class ProjectsController < ApplicationController
before_filter
:authorize_read_project!
,
:except
=>
[
:index
,
:new
,
:create
]
before_filter
:authorize_admin_project!
,
:only
=>
[
:edit
,
:update
,
:destroy
]
before_filter
:require_non_empty_project
,
:only
=>
[
:blob
,
:tree
,
:graph
]
before_filter
:load_refs
,
:only
=>
:tree
# load @branch, @tag & @ref
def
index
source
=
current_user
.
projects
...
...
app/helpers/application_helper.rb
View file @
8426846d
...
...
@@ -53,7 +53,7 @@ module ApplicationHelper
[
"Tag"
,
@project
.
tags
]
]
grouped_options_for_select
(
options
,
@ref
)
grouped_options_for_select
(
options
,
@ref
||
@project
.
default_branch
)
end
def
markdown
(
text
)
...
...
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