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
13 14 15 16 |
# File 'app/controllers/mr_video/cassettes_controller.rb', line 13 def destroy @cassette = Cassette.find(params[:id]) @cassette.destroy end |
#index ⇒ Object
5 6 7 |
# File 'app/controllers/mr_video/cassettes_controller.rb', line 5 def index @cassettes = Cassette.all end |
#show ⇒ Object
9 10 11 |
# File 'app/controllers/mr_video/cassettes_controller.rb', line 9 def show @cassette = Cassette.find(params[:id]) end |