fixed error in posting to all albums through publisher on albums#index
This commit is contained in:
parent
a60287348d
commit
f5a0f44c25
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue