Sha256: 347ea0b12565558e6e28c0ed04206f99d012ac9c1df56111b5547ff86958c566
Contents?: true
Size: 229 Bytes
Versions: 7
Compression:
Stored size: 229 Bytes
Contents
class SemiProtectedResourcesController < ApplicationController before_action :verify_authorized!, only: :index def index render plain: 'protected index' end def show render plain: 'non protected show' end end
Version data entries
7 entries across 7 versions & 1 rubygems