Sha256: 552fc5b223ef563e0de11df716b5dfd08823fe2274fd9e01ce92c7c235b22be8
Contents?: true
Size: 297 Bytes
Versions: 10
Compression:
Stored size: 297 Bytes
Contents
module InfinumId class ApplicationController < ActionController::Base protect_from_forgery with: :exception respond_to :html delegate :resource_name, :resource_class, to: InfinumId def current_resource method("current_#{resource_name.underscore}").call end end end
Version data entries
10 entries across 10 versions & 1 rubygems