Module: Contour
- Defined in:
- lib/contour.rb,
lib/contour/fixes.rb,
lib/contour/engine.rb,
lib/contour/version.rb,
lib/generators/contour/install_generator.rb
Defined Under Namespace
Modules: Fixes, Generators, VERSION Classes: AuthenticationsController, Engine, PasswordsController, RegistrationsController, SamplesController, SessionsController
Constant Summary collapse
- @@application_name =
'Application Name'
- @@application_name_html =
nil
- @@application_version =
nil
- @@header_background_image =
'rails.png'
- @@header_title_image =
nil
[ { :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', :condition => 'true', :links => [{:html => '"<div style=\"white-space:nowrap\">"+(current_user.methods.include?(:name) ? current_user.name.to_s : "")+"</div>"', :eval => true}, {:html => '"<div class=\"small quiet\">"+current_user.email+"</div>"', :eval => true}, {:name => 'Authentications', :path => 'authentications_path', :condition => 'not PROVIDERS.blank?'}, {: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'}] } ]
- @@news_feed =
nil
- @@news_feed_items =
5
Class Method Summary collapse
Class Method Details
.setup {|_self| ... } ⇒ Object
54 55 56 |
# File 'lib/contour.rb', line 54 def self.setup yield self end |