プロジェクト

全般

プロフィール

« | » 

リビジョン a1242632

高徹 高橋 徹 さんが7年以上前に追加

Fix all use of before_filter to before_action

差分を表示:

app/controllers/glossary_controller.rb
unloadable
layout 'base'
before_filter :find_project, :authorize
before_filter :find_term, :only => [:show, :edit, :destroy]
before_filter :retrieve_glossary_style, :only => [:index, :show, :show_all, :import_csv_exec]
before_action :find_project, :authorize
before_action :find_term, :only => [:show, :edit, :destroy]
before_action :retrieve_glossary_style, :only => [:index, :show, :show_all, :import_csv_exec]
helper :attachments
include AttachmentsHelper
app/controllers/term_categories_controller.rb
layout 'base'
menu_item :glossary, :only => [:index, :edit, :destroy]
before_filter :find_project, :authorize
before_filter :retrieve_glossary_style, :only => [:index]
before_action :find_project, :authorize
before_action :retrieve_glossary_style, :only => [:index]
helper :glossary
include GlossaryHelper

他の形式にエクスポート: Unified diff