2014-02-17 12:05:39 -05:00
|
|
|
class PipesController < ApplicationController
|
2014-03-22 13:21:45 -04:00
|
|
|
before_filter :require_admin
|
2014-02-17 12:05:39 -05:00
|
|
|
|
|
|
|
def index
|
|
|
|
@pipes = Pipe.paginate :page => params[:page], :order => 'created_at DESC'
|
|
|
|
end
|
|
|
|
|
|
|
|
def new
|
|
|
|
@pipe = Pipe.new
|
|
|
|
end
|
|
|
|
|
|
|
|
def create
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
2014-03-22 13:21:45 -04:00
|
|
|
|