Class: LetterThief::EmailMessagesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- LetterThief::EmailMessagesController
- Defined in:
- app/controllers/letter_thief/email_messages_controller.rb
Constant Summary collapse
- PAGE_SIZE =
20
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
13 14 15 |
# File 'app/controllers/letter_thief/email_messages_controller.rb', line 13 def index @search = LetterThief::EmailSearch.new(params).perform end |
#show ⇒ Object
17 18 19 |
# File 'app/controllers/letter_thief/email_messages_controller.rb', line 17 def show @email = EmailMessage.find(params[:id]) end |