fix channel JSON response
This commit is contained in:
1 parent
ef77eb0ca4
commit
83fd941c10
2 files changed
+14
-1
No files matched your search
@@ -174,7 +174,7 @@ class ChannelsController < ApplicationController
|
||||
session[:errors] = nil
|
||||
end
|
||||
end
|
||||
format.json { render :json => @channel }
|
||||
format.json { render :json => @channel.as_json(Channel.public_options) }
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user