Sha256: 47e3cad5d57c5d5bb353a89ec1528248bc46f8753c60816c3835cebb44026fcd
Contents?: true
Size: 1.63 KB
Versions: 2
Compression:
Stored size: 1.63 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', # :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', # :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', # :links => [{:name => 'Home', :path => 'root_path'}, {:html => "<hr>"}, {:name => 'About', :path => 'about_path'}] # }] end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
contour-0.2.1 | lib/generators/templates/contour.rb |
contour-0.1.1 | lib/generators/templates/contour.rb |