fixed error in posting to all albums through publisher on albums#index

This commit is contained in:
danielvincent 2010-10-23 00:36:29 -07:00
parent a60287348d
commit f5a0f44c25
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
= render "shared/aspect_friends"
.span-15.last
= render "shared/publisher", :type => :album, :aspect => @aspect.id
= render "shared/publisher", :type => :album, :aspect => @aspect
%div
- for album in @albums

View file

@ -53,7 +53,7 @@
= album.label :name
= album.text_field :name
= album.hidden_field :to, :value => aspect
= album.hidden_field :to, :value => (aspect == :all ? aspect : aspect.id)
.options_and_submit
= album.submit "Create", :class => 'button'