X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=app%2Fviews%2Fauthors%2Fstories.html.erb;fp=app%2Fviews%2Fauthors%2Fstories.html.erb;h=a99f490fc4e9598ca17aa475dd58e2689c8f41af;hp=0000000000000000000000000000000000000000;hb=4de70a43f48c9becfd180631289f7a4d480bb5b8;hpb=eb397c27a98c59c856b91a5b09d1316b1135a15c diff --git a/app/views/authors/stories.html.erb b/app/views/authors/stories.html.erb new file mode 100644 index 00000000..a99f490f --- /dev/null +++ b/app/views/authors/stories.html.erb @@ -0,0 +1,9 @@ +

<%= t '.title' -%>

+ + + <% @stories.each do |story| %> + <%= render 'stories/list_item', :story => story, :author => @author %> + <% end %> +
+<%= paginate(@paginate) %> +<%= link_to t('stories.new.title'), new_story_path %>