57 58 59 60 61
# File 'lib/junebug/controllers.rb', line 57 def get page_name redirect("#{Junebug.config['url']}/login") and return unless logged_in? Page.find_by_title(page_name).destroy() if is_admin? redirect Junebug.startpage end