Class: Tuttle::PaperclipController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Tuttle::PaperclipController
- Defined in:
- app/controllers/tuttle/paperclip_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#index ⇒ Object
7 8 9 10 11 |
# File 'app/controllers/tuttle/paperclip_controller.rb', line 7 def index # Note: in development with reloading, classes will show up in the registry multiple times render(plain: "Paperclip not installed") and return unless defined?(::Paperclip) @pcar = Paperclip::AttachmentRegistry.instance end |