Sha256: 3aad336aae33df718b62e8eed396bdbb5418809abfbf76136bf204533d8f8d4d
Contents?: true
Size: 549 Bytes
Versions: 15
Compression:
Stored size: 549 Bytes
Contents
module Cytoplasm class SettingsController < ApplicationController def index end def edit end def layout end def colors end def advanced end def update conf = params.except(":action",":controller") Cytoplasm.save_config(conf) redirect_to cytoplasm_settings_url end def fetch_vars Cytoplasm.load_vars_from("config/cytoplasm-config.yml") return Cytoplasm.vars() end def fetch render :text => Cytoplasm::Ajax.success({"vars" => fetch_vars()}) end end end
Version data entries
15 entries across 15 versions & 1 rubygems