1 class SpeechBalloonTemplatesController < ApplicationController
2 if Manifest.manifest.magic_numbers['run_mode'] == 0
3 before_action :authenticate_user, :only => []
5 before_action :authenticate_reader, :only => [
6 :index, :show, :by_panel, :by_system_picture
8 before_action :authenticate_user, :only => []
10 before_action :authenticate_admin, :only => [:new, :create, :edit, :update, :destroy]
17 filer_list param: params[:id]
21 filer_list param: params[:id]
24 def show_html_format format
31 respond_to do |format|
32 show_html_format format
33 show_prof_format format
34 show_json_format format
48 @item = @my_model_class.edit(params[:id], @operators)
49 render_destroy '/' + @my_model_class.path_name