プロジェクト

全般

プロフィール

QA #913

奈良 裕記 さんが4年以上前に更新

Redmine-管理/設定の各タブ上にある表示/設定項目の追加変更サンプル 
 下記項目を追加するだけで、設定項目を簡単に追加できる。 

 http://www.redmine.org/issues/16069 


 設定画面 app/views/settings/_タブ名.html.erb 

 初期値・データタイプ config/settings.yml 

 実際の設定値 DBのsettings テーブル上に保存されている。 

 設定値取得 app/controllers/application_controller.rb にメソッド定義して呼び出す 
 例 api_offset_and_limit 


 !https://unofficial-redmine.org/matomo/matomo.php?idsite=1&rec=913! !https://unofficial-redmine.org/matomo/matomo.php?idsite=1&rec=1!

戻る