Class: MrVideo::CassettesController
- Inherits:
-
MrVideoController
- Object
- ActionController::Base
- MrVideoController
- MrVideo::CassettesController
- Defined in:
- app/controllers/mr_video/cassettes_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
12 13 14 15 |
# File 'app/controllers/mr_video/cassettes_controller.rb', line 12 def destroy @cassette = Cassette.find(params[:id]) @cassette.destroy end |
#index ⇒ Object
4 5 6 |
# File 'app/controllers/mr_video/cassettes_controller.rb', line 4 def index @cassettes = Cassette.all end |
#show ⇒ Object
8 9 10 |
# File 'app/controllers/mr_video/cassettes_controller.rb', line 8 def show @cassette = Cassette.find(params[:id]) end |