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.
 
 
 
 
 

14 lines
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