2014-02-17 18:05:39 +01:00
|
|
|
class PipesController < ApplicationController
|
2014-03-22 18:21:45 +01:00
|
|
|
before_filter :require_admin
|
2014-02-17 18:05:39 +01: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 18:21:45 +01:00
|
|
|
|