Class: TFA::TfasController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- TFA::TfasController
- Defined in:
- app/controllers/tfa/tfas_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
3 4 5 6 |
# File 'app/controllers/tfa/tfas_controller.rb', line 3 def show @tfa = Tfa.find_by(id: params[:id]) head 404 if @tfa.used end |