Sha256: f70c13c336126baca6f3ec9a3253630f9c2a6cf7f63cabd77f40414af6b9e0c1
Contents?: true
Size: 302 Bytes
Versions: 18
Compression:
Stored size: 302 Bytes
Contents
class ApplicationController < Voluntary::ApplicationController layout Proc.new { |controller| controller.request.xhr? ? 'facebox' : 'application' } def current_ability @current_ability ||= super.merge(Application::Ability.new(current_user, controller_namespace: current_namespace)) end end
Version data entries
18 entries across 18 versions & 1 rubygems