aboutsummaryrefslogtreecommitdiffstats
path: root/lib/controller_patches.rb
Commit message (Collapse)AuthorAgeLines
* Add encoding line to Ruby filesGareth Rees2017-01-19-0/+1
| | | | Fixes https://github.com/mysociety/alavetelitheme/issues/69.
* Convert to two-space indentation.Louise Crow2016-04-06-11/+11
|
* Make code customization commented out examples.Louise Crow2016-04-06-9/+10
| | | | Rather than having them be live code.
* Explicitly add a survey method to UserControllerMark Longair2013-04-09-0/+4
| | | | | | | | | | Previously the survey.rhtml method was rendered by default if no action matching 'survey' was found in the controller, but this doesn't seem to be the case with some configurations. This is rather unsatisfactory, in that we haven't found documentation of any change that might cause this different behaviour, but the pragmatic solution is to just to add the empty survey method and move on.
* Replace Dispatcher.to_prepare with Rails.configuration.to_prepareMark Longair2013-04-09-2/+1
|
* Create stubs for the various points where a user might want to customise ↵Seb Bacon2012-01-30-0/+15
Alaveteli via their theme, as per suggestions by @dcabo on [the mailing list](http://groups.google.com/group/alaveteli-dev/msg/f50eba23f75b5c75)