diff --git a/app/controllers/layers_controller.rb b/app/controllers/layers_controller.rb index 430a7ae..b69537d 100644 --- a/app/controllers/layers_controller.rb +++ b/app/controllers/layers_controller.rb @@ -14,6 +14,8 @@ class LayersController < ApplicationController # GET /layers/1.json def show @layer = Layer.find(params[:id]) + @feed = Feed.new + @feed.new_layer_id = @layer.id respond_to do |format| format.html # show.html.erb