Sha256: 1b6d691fafae7611c523afd6e94f83de3e64311784012bb716e5be147190602a
Contents?: true
Size: 1.7 KB
Versions: 3
Compression:
Stored size: 1.7 KB
Contents
# Use to configure basic appearance of template Contour.setup do |config| # Enter your application name here. The name will be displayed in the title of all pages, ex: AppName - PageTitle # config.application_name = '' # Enter your application version here. Do not include a trailing backslash. Recommend using a predefined constant # config.application_version = '' # Enter your application header background image here. # config.header_background_image = 'rails.png' # Enter your application header title image here. # config.header_title_image = '' # Enter the items you wish to see in the menu # config.menu_items = [{ # :name => 'Login', :id => 'auth', :display => 'not_signed_in', :position => 'right', :position_class => 'right', :condition => 'true', # :links => [{:name => 'Login', :path => 'new_user_session_path'}, {:html => "<hr>"}, {:name => 'Sign Up', :path => 'new_user_registration_path'}] # }, # { # :name => 'current_user.name', :eval => true, :id => 'auth', :display => 'signed_in', :position => 'right', :position_class => 'right', :condition => 'true', # :links => [{:html => '"<div style=\"white-space:nowrap\">"+current_user.name+"</div>"', :eval => true}, {:html => '"<div class=\"small quiet\">"+current_user.email+"</div>"', :eval => true}, {:name => 'Authentications', :path => 'authentications_path'}, {:html => "<hr>"}, {:name => 'Logout', :path => 'destroy_user_session_path'}] # }, # { # :name => 'Home', :id => 'home', :display => 'always', :position => 'left', :position_class => 'left', :condition => 'true', # :links => [{:name => 'Home', :path => 'root_path'}, {:html => "<hr>"}, {:name => 'About', :path => 'about_path'}] # }] end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
contour-0.3.2 | lib/generators/templates/contour.rb |
contour-0.3.1 | lib/generators/templates/contour.rb |
contour-0.3.0 | lib/generators/templates/contour.rb |