Merge branch 'pull/5484'
This commit is contained in:
commit
45abfe49e1
2 changed files with 4 additions and 4 deletions
|
@ -123,7 +123,7 @@ class DiaryEntriesController < ApplicationController
|
|||
# Subscribe user to diary comments
|
||||
@diary_entry.subscriptions.create(:user => current_user)
|
||||
|
||||
redirect_to :action => "index", :display_name => current_user.display_name
|
||||
redirect_to diary_entry_path(@diary_entry.user, @diary_entry)
|
||||
else
|
||||
render :action => "new"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue