Class: ActiveHashcash::StampsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ActiveHashcash::StampsController
- Defined in:
- app/controllers/active_hashcash/stamps_controller.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
3 4 5 |
# File 'app/controllers/active_hashcash/stamps_controller.rb', line 3 def index @stamps = Stamp.filter_by(params).order(created_at: :desc).limit(1000) end |
#show ⇒ Object
7 8 9 |
# File 'app/controllers/active_hashcash/stamps_controller.rb', line 7 def show @stamp = Stamp.find(params[:id]) end |