OSDN Git Service

22728ceabd004f8159d8e111ea34e5bf73df9365
[pettanr/pettanr.git] / app / controllers / balloon_templates_controller.rb
1 class BalloonTemplatesController < ApplicationController
2   before_filter :authenticate_admin!, :except => [:index]
3   
4   # GET /balloon_templates
5   # GET /balloon_templates.json
6   def index
7     @balloon_templates = BalloonTemplate.all
8
9     respond_to do |format|
10       format.html # index.html.erb
11       format.json { render json: @balloon_templates }
12     end
13   end
14 end