Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 206
- Log:
Initial import of Gullery, an open source photo gallery:
http://nubyonrails.com/pages/gullery
- Author:
- rool
- Date:
- Sun May 20 19:05:59 +0100 2007
- Size:
- 544 Bytes
1 | # Filters added to this controller will be run for all controllers in the application. |
2 | # Likewise, all the methods added will be available for all controllers. |
3 | class ApplicationController < ActionController::Base |
4 | include AuthenticatedSystem |
5 | |
6 | helper_method :textilight, :textilize |
7 | |
8 | def textilight(text='') |
9 | r = RedCloth.new text |
10 | r.hard_breaks = false |
11 | r.to_html.gsub(/^<p>/, '').gsub(/<\/p>$/, '') |
12 | end |
13 | |
14 | def textilize(text='') |
15 | r = RedCloth.new text |
16 | r.hard_breaks = false |
17 | r.to_html.gsub(/^\s+/, '') |
18 | end |
19 | |
20 | end |