fix channel JSON response

This commit is contained in:
Lee Lawlor
2014-08-13 19:23:23 -04:00
parent ef77eb0ca4
commit 83fd941c10
2 changed files with 14 additions and 1 deletions

View File

@ -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