Class: Dashboard::PrototypesController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/blacksand/dashboard/prototypes_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
# File 'app/controllers/blacksand/dashboard/prototypes_controller.rb', line 4

def index
  @prototypes = Prototype.all
end

#showObject



8
9
10
# File 'app/controllers/blacksand/dashboard/prototypes_controller.rb', line 8

def show
  @prototype = Prototype.find params[:id]
end