# coding: utf-8

class Channels::ProjectsController < ProjectsController
  belongs_to :channel, finder: :find_by_permalink!, param: :profile_id, polymorphic: true
  after_filter only: [:create] { @project.channels << @channel }

end



# coding: utf-8

class Channels::ProjectsController < ProjectsController
  belongs_to :channel, finder: :find_by_permalink!, param: :profile_id
  after_filter only: [:create] { @project.channels << @channel }

end



Remove polymorphic flag from channels projects
Remove polymorphic flag from channels projects

For some reason, it was there.