You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: site_settings_controller.rb
    path of file: ./repos/rabel/app/controllers/admin
    
    the code of the file until where you have to start completion: # encoding: utf-8

class Admin::SiteSettingsController < Admin::BaseController
  def show
    @settings = Sit
    
  def update
    params[:settings].keys.each do |key|
      Siteconf.send("#{key}=", params[:settings][key])
    end
    flash[:success] = '保存成功'
    redirect_back fallback_location: root_path
  end