allow tags to be added when creating a channel

This commit is contained in:
Lee Lawlor
2014-03-27 15:15:54 -04:00
parent afdfca9fab
commit 6d48aaa8fc
3 changed files with 4 additions and 1 deletions

View File

@ -202,6 +202,7 @@ class ChannelsController < ApplicationController
channel.set_windows
channel.save
channel.save_tags(params[:channel][:tags]) if params[:channel][:tags].present?
channel.add_write_api_key
@channel_id = channel.id
respond_to do |format|