Skip to content
This repository

A mirror of the mephisto code-base

branch: master

Fix display of theme homepage links

Many thanks to Gustavo Sales (aka vatsu) for pointing out this bug and
proposing a fix:

http://github.com/vatsu/mephisto/commit/e7b0ecaaca4457dd7d542ac218baf979e1b7a190
http://github.com/vatsu/mephisto/commit/fbe32e923ad6dfb963a8311053214b3395aeb37b

In order to minimize code duplication in the *.erb files, I've rewritten
this code as a helper method.
latest commit 1473acf830
Eric Kidd emk authored
Octocat-spinner-32 app Fix display of theme homepage links
Octocat-spinner-32 config Require test gems in development environment, not test
Octocat-spinner-32 db Change default user article filter to Textile
Octocat-spinner-32 lib Fixed typo.
Octocat-spinner-32 log Warning fix: Force the log/ directory to exist
Octocat-spinner-32 public JavaScript: Fix authenticity_token problems
Octocat-spinner-32 script update rspec and rspec-rails to latest github versions
Octocat-spinner-32 spec Write login integration tests using Webrat
Octocat-spinner-32 test Changed user login to send user to admin section on succesful login i…
Octocat-spinner-32 vendor Unbundle tzinfo gem
Octocat-spinner-32 .gitignore Ignore .DS_Store files
Octocat-spinner-32 CHANGELOG useless commit (testing post-receive hook)
Octocat-spinner-32 INSTALL Added brief install instructions
Octocat-spinner-32 LICENSE update license
Octocat-spinner-32 RAILS-2.2-TODO.txt Add TODO item for explaining how to make Unicode work
Octocat-spinner-32 README Require test gems in development environment, not test
Octocat-spinner-32 Rakefile Run both specs and tests when 'rake' is invoked
README
= Installation

See public/install.html for setup instructions.

= Timezones

You MUST export the environment variable TZ=UTC, or else the article dates
and times will be invalid.

This would not be needed if rails used UTC for everything, but
unfortunately it doesn't... eg: action_view/helpers/date_helper.rb uses
Time::now instead of Timer::now.utc, and Time::mktime instead of
Time::utc.

XXX oh, we can't depend on the rails helpers at all, because they don't
    translate the time from UTC (assuming the TZ env var is correctly
    set) to site time, you've to roll our own, or monkey patch rails :/

= Dependencies

Note that Mephisto depends on fewer gems when RAILS_ENV=production than it
does in a development environment.

Run 'rake gems:install' to install the development gems.  In a production
environment, run:

  RAILS_ENV=production rake gems:install

= License

Mephisto is distributed under the same license as Ruby on Rails. See
http://www.opensource.org/licenses/mit-license.php
Something went wrong with that request. Please try again.