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
Jérome Perrin
gitlab-ce
Commits
ae29ec31
Commit
ae29ec31
authored
8 years ago
by
Long Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused view and update redirect when destroy snippet
parent
8dc19494
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
14 deletions
+1
-14
app/controllers/snippets_controller.rb
app/controllers/snippets_controller.rb
+1
-1
app/views/snippets/index.html.haml
app/views/snippets/index.html.haml
+0
-13
No files found.
app/controllers/snippets_controller.rb
View file @
ae29ec31
...
...
@@ -43,7 +43,7 @@ class SnippetsController < ApplicationController
@snippet
.
destroy
redirect_to
snippets_path
redirect_to
dashboard_
snippets_path
end
def
raw
...
...
This diff is collapsed.
Click to expand it.
app/views/snippets/index.html.haml
deleted
100644 → 0
View file @
8dc19494
-
page_title
"By
#{
@user
.
name
}
"
,
"Snippets"
%ol
.breadcrumb
%li
=
link_to
snippets_path
do
Snippets
%li
=
@user
.
name
.pull-right.hidden-xs
=
link_to
user_path
(
@user
)
do
#{
@user
.
name
}
profile page
=
render
'snippets'
This diff is collapsed.
Click to expand it.
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