1 class SpeechesController < 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 => [
7 :index, :show, :by_speech_balloon, :by_writing_format, :count, :count_by_speech_balloon, :count_by_writing_format
9 before_filter :authenticate_user, :only => []
10 before_filter :authenticate_author, :only => []
12 before_filter :authenticate_admin!, :only => []
30 def show_html_format format
38 respond_to do |format|
39 show_html_format format
40 show_prof_format format
41 show_json_format format
49 def count_by_speech_balloon
53 def count_by_writing_format