Revision 46e28cc2
Added by Marc Dequènes almost 16 years ago
- ID 46e28cc2c26c3f11d5640eac9ca387eb8937af0c
app/views/layouts/application.rhtml | ||
---|---|---|
<li><strong><%= _("About") %></strong>
|
||
<ul>
|
||
<li><%= link_to _("Project page"), MyCyma::Info::url, :popup => true %></li>
|
||
<li><%= link_to _("Help"), MyCyma::Info::help_url, :popup => true %></li>
|
||
<li><%= link_to _("Author site"), MyCyma::Info::author_url, :popup => true %></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
lib/mycyma/info.rb | ||
---|---|---|
module Info
|
||
class << self
|
||
def app_name; 'MyCyma' end
|
||
def url; 'http://www.duckcorp.org/' end
|
||
def help_url; 'http://www.duckcorp.org/' end
|
||
def url; 'https://projects.duckcorp.org/projects/show/mycyma' end
|
||
def author_url; 'http://www.duckcorp.org/' end
|
||
def versioned_name; "#{app_name} #{MyCyma::VERSION}" end
|
||
end
|
||
end
|
Also available in: Unified diff
[evol] updated URLs in 'About' submenu