Changeset [5af6022b2cc83953aae520c99ed88944bbdab05a] by Artem Bolshakov
March 30th, 2016 @ 01:58 PM
Build proper path for models within modules
Given I have a model witing module
module Admin
class User < ActiveRecord::Base
end
end
<pre><code>
I try to use it as "I am on userl's page"
But it generates wrong path method name: 'admin/user_path'.
https://github.com/ianwhite/pickle/commit/5af6022b2cc83953aae520c99ed88944bbdab05a</code>
</pre>
Committed by Artem Bolshakov
- M lib/pickle/path.rb
- M spec/pickle/path_spec.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Assign tickets to <b>Ian White</b>, so I get notified