fix for invalid method
This commit is contained in:
parent
7e964afcc6
commit
4852fc8a61
@ -30,9 +30,6 @@ class ChannelsController < ApplicationController
|
|||||||
@channel.name = "#{t(:channel_default_name)} #{@channel.id}" if params[:channel][:name].empty?
|
@channel.name = "#{t(:channel_default_name)} #{@channel.id}" if params[:channel][:name].empty?
|
||||||
@channel.save
|
@channel.save
|
||||||
|
|
||||||
# save tags
|
|
||||||
@channel.save_tags(params[:tags][:name])
|
|
||||||
|
|
||||||
redirect_to channel_path(@channel.id) and return
|
redirect_to channel_path(@channel.id) and return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user