A corporation manager and dashboard for EVE Online
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
336 B

  1. class AdminController < ApplicationController
  2. def index
  3. end
  4. def update
  5. if !params[:settings].nil?
  6. params[:settings].each do |key, value|
  7. ## assert in list of valid settings...
  8. ## only if changed (i.e. not equal to get)
  9. AdminSetting.set(key, value)
  10. end
  11. end
  12. render 'index'
  13. end
  14. end