Sha256: 1c80a676f7aecd7ab9524079fda14c143fbba447626899fd15763454e0beac3a
Contents?: true
Size: 346 Bytes
Versions: 9
Compression:
Stored size: 346 Bytes
Contents
class ExampleController < ApplicationController before_action :authenticate_user!, only: %i[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
9 entries across 9 versions & 1 rubygems