Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
Version bump. Updated Readme, added app/presenters to Rails load_path.
Browse files Browse the repository at this point in the history
  • Loading branch information
ihoka committed Dec 1, 2009
1 parent 97a02c3 commit f184384
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -24,6 +24,7 @@ A Presenter inherits from `Viewtastic::Base` and should use the `presents` metho
end end


This gives you several 'magic' methods: This gives you several 'magic' methods:

* All attributes of comment with the prefix 'comment'. For instance: `comment_body`, `comment_post`, `comment_created_at`. * 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. * `comment_dom_id` is the same as calling `dom_id(comment)` in a view.


Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.1.0 0.1.1
2 changes: 1 addition & 1 deletion init.rb
@@ -1 +1 @@
# Include hook code here Rails.configuration.load_paths << "app/presenters"
4 changes: 4 additions & 0 deletions lib/viewtastic.rb
@@ -1,3 +1,7 @@
require File.dirname(__FILE__) + "/viewtastic/activation" require File.dirname(__FILE__) + "/viewtastic/activation"
require File.dirname(__FILE__) + "/viewtastic/base" require File.dirname(__FILE__) + "/viewtastic/base"
require File.dirname(__FILE__) + "/duck_punches/array/each_with_presenter" 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.