README.markdown in ruby_gallery-0.2.4 vs README.markdown in ruby_gallery-0.2.5

- old
+ new

@@ -1,11 +1,11 @@ # Introduction # Usage ## Setup - + * ``gem "ruby_gallery", git: "git@github.com:dangluan/ruby_gallery.git", tag: "v0.2.4"`` in your gemfile * ``bundle`` * ``rails g ruby_gallery:install`` * ``rails g ruby_gallery MODEL`` @@ -17,17 +17,17 @@ * ``rake db:migrate`` ## Add upload form for view - <%= show_gallery_images :MODEL %> + <%= show_gallery_images :OBJECT %> EX: - <%= show_gallery_images :users %> (note: model is plural) + <%= show_gallery_images @user %> ## You can reorder images in box (default you can reorderable) You can set it to false - <%= show_gallery_images :users, {reorder: false} %> + <%= show_gallery_images @user, {reorder: false} %> ## You can disable ``close link`` - <%= show_gallery_images :users, {reorder: false , close: false } \ No newline at end of file + <%= show_gallery_images @user, {reorder: false , close: false }