Commit
6cb016a7abf609aba877fee27b1c444c2bd73196
Exists in
staging
and in
26 other branches
angular_poc, api-article-archived, api-homepage, api_visitor, article-readonly, caching-rails4, captcha_serpro_plugin, comment_paragraph_api, comments_api_reply, content-manager-hostspot, environment-api, export-comment-paragraph, fix_event_date_issue, fix_multitenancy, fix_profile_wall, fix_string_downcase_and_upcase, fix_upload_files_on_development_environment, json_cookie_serializer, login-captcha, master, new_security, new_video_plugin, pg_search_rank, production, resend_confirmation_email, tasks_keep_filter_params
ActionItem1084: folders should not be added in an article block
|
1
| -<%= select('block', 'article_id', @block.box.owner.articles.map {|item| [ item.path, item.id]}) %> |
1
| +<% articles = @block.box.owner.articles.select {|article| !article.folder? } %> |
|
| |
2
| +<%= select('block', 'article_id', articles.map {|item| [ item.path, item.id]}) %> |