diff options
| author | hukl <contact@smyck.org> | 2009-04-13 17:56:46 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-04-13 17:56:46 +0200 |
| commit | 27167671722b7c7a997c8bed7713ee9013bac326 (patch) | |
| tree | d69f8853bbbeaeebdda2ba9dc8d08b8090b4a523 /app/helpers | |
| parent | 8e90dd908c7e1d7fb8fb0e7c175b820e9b7b7c61 (diff) | |
rebuilding the admin interface
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/link_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers/link_helper.rb b/app/helpers/link_helper.rb index 33d8a06..881c553 100644 --- a/app/helpers/link_helper.rb +++ b/app/helpers/link_helper.rb | |||
| @@ -12,4 +12,9 @@ module LinkHelper | |||
| 12 | ) | 12 | ) |
| 13 | end | 13 | end |
| 14 | 14 | ||
| 15 | def selected? controller_name | ||
| 16 | if params[:controller] == controller_name | ||
| 17 | return :class => "selected" | ||
| 18 | end | ||
| 19 | end | ||
| 15 | end \ No newline at end of file | 20 | end \ No newline at end of file |
