Class: Dashboard::PrototypesController
- Inherits:
-
BaseController
- Object
- BaseController
- Dashboard::PrototypesController
- Defined in:
- app/controllers/blacksand/dashboard/prototypes_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
4 5 6 |
# File 'app/controllers/blacksand/dashboard/prototypes_controller.rb', line 4 def index @prototypes = Prototype.all end |
#show ⇒ Object
8 9 10 |
# File 'app/controllers/blacksand/dashboard/prototypes_controller.rb', line 8 def show @prototype = Prototype.find params[:id] end |