Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rendezvous
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VeNtura
rendezvous
Commits
9647445a
Commit
9647445a
authored
Jul 23, 2014
by
tady
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix redirect url
parent
922e3863
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/controllers/posts_controller.rb
+1
-1
app/controllers/tags_controller.rb
+1
-1
No files found.
app/controllers/posts_controller.rb
View file @
9647445a
...
...
@@ -82,7 +82,7 @@ class PostsController < ApplicationController
def
destroy
@post
.
destroy
respond_to
do
|
format
|
format
.
html
{
redirect_to
posts
_url
,
flash:
{
success:
'Post successfully deleted.'
}
}
format
.
html
{
redirect_to
flow
_url
,
flash:
{
success:
'Post successfully deleted.'
}
}
format
.
json
{
head
:no_content
}
end
end
...
...
app/controllers/tags_controller.rb
View file @
9647445a
...
...
@@ -43,7 +43,7 @@ class TagsController < ApplicationController
def
destroy
@tag
.
destroy
respond_to
do
|
format
|
format
.
html
{
redirect_to
posts
_url
,
flash:
{
success:
'Tag successfully deleted.'
}
}
format
.
html
{
redirect_to
flow
_url
,
flash:
{
success:
'Tag successfully deleted.'
}
}
format
.
json
{
head
:no_content
}
end
end
...
...
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