Sha256: 50fbfc335606b80c759b18e467afb5b1bdecd8631f70ca57552209fe120040da

Contents?: true

Size: 610 Bytes

Versions: 6

Compression:

Stored size: 610 Bytes

Contents

# Administration related information
module Odania
	module Admin
		# Registered Templates for the admin pages
		mattr_reader :admin_templates
		@@admin_templates = Hash.new

		# Registered Admin Pages
		mattr_accessor :admin_pages
		@@admin_pages = Set.new
		@@admin_pages << {name: 'Sites', path: '/admin/odania/sites'}
		@@admin_pages << {name: 'Contents', path: '/admin/odania/contents'}
		@@admin_pages << {name: 'Languages', path: '/admin/odania/languages'}
		@@admin_pages << {name: 'Menus', path: '/admin/odania/menus'}
		@@admin_pages << {name: 'Menu Items', path: '/admin/odania/menu_items'}
	end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
odania_core-0.0.6 lib/odania/admin.rb
odania_core-0.0.5 lib/odania/admin.rb
odania_core-0.0.4 lib/odania/admin.rb
odania_core-0.0.3 lib/odania/admin.rb
odania_core-0.0.2 lib/odania/admin.rb
odania_core-0.0.1 lib/odania/admin.rb