Browse Source

Create new feeds in the context of this layer

master
Adrian Short 11 years ago
parent
commit
8046b9b25b
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/controllers/layers_controller.rb

+ 2
- 0
app/controllers/layers_controller.rb View File

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


Loading…
Cancel
Save