module Enjoy::Controller
Protected Instance Methods
ckeditor_authenticate()
click to toggle source
# File lib/enjoy/controller.rb, line 26 def ckeditor_authenticate redirect_to '/' unless user_signed_in? && current_user.has_role?('admin') end
hide_ym_ga()
click to toggle source
# File lib/enjoy/controller.rb, line 31 def hide_ym_ga false end
page_title()
click to toggle source
# File lib/enjoy/controller.rb, line 18 def page_title if @seo_page.nil? Settings ? Settings.default_title : "" #temp else @seo_page.page_title end end