Class: Ishapi::PhotosController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Ishapi::PhotosController
- Defined in:
- app/controllers/ishapi/photos_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
#exception, #home, #long_term_token, #vote
Instance Method Details
#show ⇒ Object
8 9 10 11 |
# File 'app/controllers/ishapi/photos_controller.rb', line 8 def show @photo = Photo.find params[:id] :show, @photo end |