1 class SpeachTemplatesController < ApplicationController
2 before_filter :authenticate_admin!, :except => [:index]
4 # GET /speach_templates
5 # GET /speach_templates.json
7 @speach_templates = SpeachTemplate.all
10 format.html # index.html.erb
11 format.json { render json: @speach_templates }