1 class PanelPicturesController < ApplicationController
2 before_filter :authenticate_author!, :except => [:index]
5 # GET /panel_pictures.json
7 @panel_pictures = PanelPicture.all
10 format.html # index.html.erb
11 format.json { render json: @panel_pictures }