thingspeak/app/controllers/pipes_controller.rb

17 lines
257 B
Ruby
Raw Normal View History

class PipesController < ApplicationController
before_filter :require_admin, :set_admin_menu
def index
@pipes = Pipe.paginate :page => params[:page], :order => 'created_at DESC'
end
def new
@pipe = Pipe.new
end
def create
end
end