Sha256: 8cdbfa9bcbf9e0ae41e4001c52f5f1898faf8275763ba70de9350ad073cd01c6

Contents?: true

Size: 293 Bytes

Versions: 114

Compression:

Stored size: 293 Bytes

Contents

require_dependency "ishapi/application_controller"

class Ishapi::PhotosController < Ishapi::ApplicationController

  # before_action :soft_check_long_term_token, only: [ :show ]
  before_action :check_jwt

  def show
    @photo = Photo.find params[:id]
    authorize! :show, @photo
  end

end

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
ishapi-0.1.8.316 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.315 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.314 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.313 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.312 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.310 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.309 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.308 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.307 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.306 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.305 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.304 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.303 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.302 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.301 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.300 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.298 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.297 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.296 app/controllers/ishapi/photos_controller.rb
ishapi-0.1.8.295 app/controllers/ishapi/photos_controller.rb