Permalink
Browse files

Version bump. Updated Readme, added app/presenters to Rails load_path.

  • Loading branch information...
1 parent 97a02c3 commit f1843848ae03cf738bc45deba48f15c4979fbff4 @ihoka committed Dec 1, 2009
Showing with 7 additions and 2 deletions.
  1. +1 −0 README.md
  2. +1 −1 VERSION
  3. +1 −1 init.rb
  4. +4 −0 lib/viewtastic.rb
View
@@ -24,6 +24,7 @@ A Presenter inherits from `Viewtastic::Base` and should use the `presents` metho
end
This gives you several 'magic' methods:
+
* All attributes of comment with the prefix 'comment'. For instance: `comment_body`, `comment_post`, `comment_created_at`.
* `comment_dom_id` is the same as calling `dom_id(comment)` in a view.
View
@@ -1 +1 @@
-0.1.0
+0.1.1
View
@@ -1 +1 @@
-# Include hook code here
+Rails.configuration.load_paths << "app/presenters"
View
@@ -1,3 +1,7 @@
require File.dirname(__FILE__) + "/viewtastic/activation"
require File.dirname(__FILE__) + "/viewtastic/base"
require File.dirname(__FILE__) + "/duck_punches/array/each_with_presenter"
+
+module Viewtastic
+ VERSION = "0.1.1"
+end

0 comments on commit f184384

Please sign in to comment.