Sha256: 289118928fb4bb9998a265587d2dc856b7a986e05a447cf6023f569dd2bd4285
Contents?: true
Size: 351 Bytes
Versions: 6
Compression:
Stored size: 351 Bytes
Contents
class ExampleController < ApplicationController before_action :authenticate_user!, :only => [:restricted, :this_requires_signin_permission] def index render body: "jabberwocky" end def restricted render body: "restricted kablooie" end def this_requires_signin_permission render body: "you have signin permission" end end
Version data entries
6 entries across 6 versions & 1 rubygems