Sha256: 416101116c81d891f18fb49e01c45d0e47bc2d9bcf3bfcc2d9652507624e316c
Contents?: true
Size: 212 Bytes
Versions: 10
Compression:
Stored size: 212 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
10 entries across 10 versions & 1 rubygems