Fix renaming streams.

(imported from commit 63c41d7f1175f132dc835e76362d679f00800d3f)
This commit is contained in:
Tim Abbott 2013-12-16 10:27:58 -05:00
parent f8fe9d1dd4
commit 1ca8804468
1 changed files with 1 additions and 1 deletions

View File

@ -1546,8 +1546,8 @@ def get_public_streams_backend(request, user_profile):
include_subscribed=False, include_all_active=False)
@authenticated_json_post_view
@has_request_variables
@require_realm_admin
@has_request_variables
def json_rename_stream(request, user_profile, old_name=REQ, new_name=REQ):
return json_success(do_rename_stream(user_profile.realm, old_name, new_name))