1 class PanelPicturesController < 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_panel, :by_author
9 before_filter :authenticate_user, :only => []
10 before_filter :authenticate_author, :only => []
25 def show_html_format format
27 @panel_picture = @item
33 respond_to do |format|
34 show_html_format format
35 show_prof_format format
36 show_json_format format