Sha256: f39cd10f999e7a034fadbfe0dc43464318615c93ba39a5a934540adcb46580f2
Contents?: true
Size: 478 Bytes
Versions: 11
Compression:
Stored size: 478 Bytes
Contents
# This illustrates the use of a ziya helper. Define view behavior in these # classes. The location of the helpers is specified in the ziya initializer # :helpers_dir configuration module Ziya::MapHelper # --------------------------------------------------------------------------- # Define custom outline color for use in the stylesheet def outline_color "f49329" end def random_color colors = %w[f49329 eced76 cc0000 0f67a1] colors[rand(3)] end end
Version data entries
11 entries across 11 versions & 2 rubygems