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.

admin_controller.rb 243 B

9 years ago
9 years ago
12345678910111213
  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