OSDN Git Service

import all source code
[pettanr/pettanr.git] / app / controllers / panel_pictures_controller.rb
1 class PanelPicturesController < ApplicationController
2   before_filter :authenticate_author!, :except => [:index]
3
4   # GET /panel_pictures
5   # GET /panel_pictures.json
6   def index
7     @panel_pictures = PanelPicture.all
8
9     respond_to do |format|
10       format.html # index.html.erb
11       format.json { render json: @panel_pictures }
12     end
13   end
14
15 end