Sha256: 6df0a1f82ef54d533989e3eb212590ca6167ce6f6e3c9dad6883125488e99224

Contents?: true

Size: 1.23 KB

Versions: 8

Compression:

Stored size: 1.23 KB

Contents

Rails.application.routes.draw do
	
	# Settings
	get "/cytoplasm" => "Cytoplasm/settings#index", :as => :cytoplasm_settings
	get "/cytoplasm/general" => "Cytoplasm/settings#general", :as => :cytoplasm_general_settings
	get "/cytoplasm/layout" => "Cytoplasm/settings#layout", :as => :cytoplasm_layout_settings
	get "/cytoplasm/colors" => "Cytoplasm/settings#colors", :as => :cytoplasm_colors_settings
	get "/cytoplasm/advanced" => "Cytoplasm/settings#advanced", :as => :cytoplasm_advanced_config
	post "/cytoplasm/settings/fetch" => "Cytoplasm/settings#fetch"
	post "/cytoplasm/update" => "Cytoplasm/settings#update", :as => :cytoplasm_update
	
	# Fonts
	get "/cytoplasm/fonts" => "Cytoplasm/fonts#index", :controller => Cytoplasm::FontsController, :action => :index, :as => :cytoplasm_fonts
	get "/cytoplasm/fonts/:directory/:family" => "Cytoplasm/fonts#show", :controller => Cytoplasm::FontsController, :action => :show, :as => :cytoplasm_show_font
	post "/cytoplasm/fonts/fetch_all" => "Cytoplasm/fonts#fetch_all"
	post "/cytoplasm/fonts/import" => "Cytoplasm/fonts#import"
	post "/cytoplasm/fonts/remove" => "Cytoplasm/fonts#remove"
	post "/cytoplasm/fonts/enable" => "Cytoplasm/fonts#enable"
	post "/cytoplasm/fonts/disable" => "Cytoplasm/fonts#disable"
	
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cytoplasm-0.3.1 config/routes.rb
cytoplasm-0.3.0 config/routes.rb
cytoplasm-0.2.9 config/routes.rb
cytoplasm-0.2.8 config/routes.rb
cytoplasm-0.2.7 config/routes.rb
cytoplasm-0.2.6 config/routes.rb
cytoplasm-0.2.5 config/routes.rb
cytoplasm-0.2.4 config/routes.rb