app/controllers/ishapi/galleries_controller.rb in ishapi-0.1.8.134 vs app/controllers/ishapi/galleries_controller.rb in ishapi-0.1.8.135
- old
+ new
@@ -1,10 +1,11 @@
require_dependency "ishapi/application_controller"
module Ishapi
class GalleriesController < ApplicationController
- before_action :soft_check_long_term_token, only: [ :show ]
+ # before_action :soft_check_long_term_token, only: [ :show ]
+ before_action :check_jwt
def index
@galleries = Gallery.all
authorize! :index, Gallery
if params[:cityname]