Class: OutroRails::ChordVoicingsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- OutroRails::ChordVoicingsController
- Defined in:
- app/controllers/outro_rails/chord_voicings_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
5 6 7 8 9 10 |
# File 'app/controllers/outro_rails/chord_voicings_controller.rb', line 5 def show @voicing = ChordVoicing.find_by_param(params[:id]) raise ActiveRecord::RecordNotFound, "no voicing #{params[:id].inspect}" unless @voicing @chord = @voicing.chord end |