A corporation manager and dashboard for EVE Online
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

14 行
243 B

  1. class AdminController < ApplicationController
  2. def index
  3. end
  4. def update
  5. if params[:settings].is_a? Hash
  6. params[:settings].each do |key, value|
  7. AdminSetting.set(key, value)
  8. end
  9. end
  10. render 'index'
  11. end
  12. end