Don't redirect on status message create
This commit is contained in:
parent
0859d8ebfe
commit
9cbdf78aa7
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class StatusMessagesController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
@status_message = current_user.post(:status_message, data)
|
@status_message = current_user.post(:status_message, data)
|
||||||
respond_with @status_message
|
render :nothing => true
|
||||||
end
|
end
|
||||||
|
|
||||||
def destroy
|
def destroy
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue