Sha256: 8b65d69e169fe7d6c2cdd771fb106c19ac0bda2b968c6f611eeec85af2453be4
Contents?: true
Size: 461 Bytes
Versions: 5
Compression:
Stored size: 461 Bytes
Contents
module Homeland::Note class ApplicationController < ::ApplicationController protect_from_forgery with: :exception layout "homeland/note/application" helper Homeland::Note::ApplicationHelper helper_method :current_user_notes def current_ability @current_ability ||= Homeland::Note::Ability.new(current_user) end def current_user_notes @current_user_notes ||= ::Note.where(user_id: current_user.id) end end end
Version data entries
5 entries across 5 versions & 1 rubygems