module Hancock::Controller
Protected Instance Methods
ckeditor_authenticate()
click to toggle source
# File lib/hancock/controller.rb, line 22 def ckeditor_authenticate redirect_to '/' unless user_signed_in? && current_user.has_role?('admin') end
hide_ym_ga()
click to toggle source
# File lib/hancock/controller.rb, line 27 def hide_ym_ga false end
page_title()
click to toggle source
# File lib/hancock/controller.rb, line 18 def page_title Settings ? Settings.default_title : "" #temp end