resourcesとresourceを組み合わせる際の注意点 ref: http://qiita.com/items/9b792c9bcb8bc4289066