Sha256: 3d16af2b029c8b96415ec4a1553172fc6488d20edd69e17c6466ef3cd05133ff
Contents?: true
Size: 213 Bytes
Versions: 42
Compression:
Stored size: 213 Bytes
Contents
module Mtwarden class ApplicationController < ::ApplicationController def authorize_owner unless owner? flash[:error] = "You are not allowed to do that." redirect_to root_path end end end end
Version data entries
42 entries across 42 versions & 1 rubygems