Class: Emailbutler::UiController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Emailbutler::UiController
- Includes:
- Pagy::Backend
- Defined in:
- app/controllers/emailbutler/ui_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
13 14 15 |
# File 'app/controllers/emailbutler/ui_controller.rb', line 13 def index @summary = ::Emailbutler. end |
#show ⇒ Object
17 18 19 |
# File 'app/controllers/emailbutler/ui_controller.rb', line 17 def show @pagy, @messages = pagy(::Emailbutler.(search_condition)) end |