aboutsummaryrefslogtreecommitdiffstats
path: root/lib/alavetelitheme.rb
Commit message (Collapse)AuthorAgeLines
* Only set up FastGettext on initialization, even in development modeimprove-development-performanceMark Longair2013-09-16-2/+11
| | | | | | | | | | | | | | | | | Even on a very fast computer, there is a significant delay (a couple of seconds) in processing every request in development mode. This is because the configuration of FastGettext's paths for finding translations is done in a block passed to Rails.configuration.to_prepare, which causes the block to be run before every request by the Rails Reloader in developmetn mode. It seems to be work fine just running the FastGettext calls on initialization in development mode, however - customizations in the theme's locale-theme directory still have effect in development mode even after the reloader has reloaded classes before handling subsequent requests. So, I think this change should be safe. This commit introduces that change, having the effect that development mode is much more responsive.
* Note that custom routes file needs a unique nameSeb Bacon2012-07-16-0/+2
|
* Correct path for custom routesSeb Bacon2012-07-13-1/+1
|
* Remember actually to include mailer patches; and use the latest way of ↵Seb Bacon2012-07-13-3/+5
| | | | adding custom routes
* Forgot to include variable in previous commitSeb Bacon2012-06-25-0/+2
|
* Create and use a dynamically-named filter path for the theme, so we can ↵Seb Bacon2012-06-12-3/+7
| | | | ensure multiple themes don't overwrite each other.
* Explicitly load monkeypatches etc with full path, so we can support multiple ↵Seb Bacon2012-05-30-9/+6
| | | | themes living side-by-side (or at least, support one theme overriding the behaviour of another in a predictable manner)
* Create stubs for the various points where a user might want to customise ↵Seb Bacon2012-01-30-0/+7
| | | | Alaveteli via their theme, as per suggestions by @dcabo on [the mailing list](http://groups.google.com/group/alaveteli-dev/msg/f50eba23f75b5c75)
* Add examples of how a user might customise:Seb Bacon2012-01-27-0/+13
| | | | | | * routes * gettext translations * categories
* initial commitSeb Bacon2011-02-25-0/+7