瀏覽代碼

Create new feeds in the context of this layer

master
Adrian Short 11 年之前
父節點
當前提交
8046b9b25b
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      app/controllers/layers_controller.rb

+ 2
- 0
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


Loading…
取消
儲存