1 class TopController < ApplicationController
2 if Manifest.manifest.magic_numbers['run_mode'] == 0
3 before_filter :authenticate_user, :only => []
4 before_filter :authenticate_author, :only => []
6 before_filter :authenticate_reader, :only => []#[:index]
7 before_filter :authenticate_user, :only => []
8 before_filter :authenticate_author, :only => []
12 respond_to do |format|
13 format.html { render layout: 'ap' }
18 respond_to do |format|
19 format.html { render layout: 'ap' }