Commit 9d2d6b4b86586ed248d58ea717552d5541e260ec
1 parent
3ea04c54
Exists in
master
and in
29 other branches
Changing variable name to default convention
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/views/box_organizer/_article_block.rhtml
... | ... | @@ -6,8 +6,8 @@ |
6 | 6 | <% else %> |
7 | 7 | <% |
8 | 8 | articles = @block.available_articles.select {|a| !a.folder? || a.blog? } |
9 | - firstText = articles[articles.find_index{|a| a.kind_of?TextArticle}||-1] | |
10 | - selected = @block.article || firstText | |
9 | + first_text = articles[articles.find_index{|a| a.kind_of? TextArticle}||-1] | |
10 | + selected = @block.article || first_text | |
11 | 11 | %> |
12 | 12 | <%= select_tag( |
13 | 13 | 'block[article_id]', | ... | ... |