diff options
author | Faton Selishta <fatonselishta@gmail.com> | 2011-06-30 16:04:13 +0200 |
---|---|---|
committer | Faton Selishta <fatonselishta@gmail.com> | 2011-06-30 16:04:13 +0200 |
commit | ae01f3115f0c855e52cdeeb17d628251e60f6e7c (patch) | |
tree | 20cc16874ec6f909ad29cd9ed9e05d7933681fda /vendor/plugins/alavetelitheme/lib/alavetelitheme.rb | |
parent | fae45c3f74bb34fb6094fff6e15634c530db76f7 (diff) |
added alaveteli theme
Diffstat (limited to 'vendor/plugins/alavetelitheme/lib/alavetelitheme.rb')
-rw-r--r-- | vendor/plugins/alavetelitheme/lib/alavetelitheme.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/plugins/alavetelitheme/lib/alavetelitheme.rb b/vendor/plugins/alavetelitheme/lib/alavetelitheme.rb new file mode 100644 index 000000000..fa2749c33 --- /dev/null +++ b/vendor/plugins/alavetelitheme/lib/alavetelitheme.rb @@ -0,0 +1,7 @@ +class ActionController::Base + before_filter :set_view_paths + + def set_view_paths + self.prepend_view_path File.join(File.dirname(__FILE__), "views") + end +end |