Move inherited_resources for Rails 4.2 support