You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds a bit of complexity and raises the flog score a bit.
Proposed Solution
It would be nice if we could add a method to the lib/everypolitician_extensions.rb to extend the Everypolitician::Index with a method that allows you to pass a country and a house slug.
Would the method work if it were just called legislature? country_legislature is a bit of a mouthful.
octopusinvitro
changed the title
Extend EveryPolitician Index with a country_legislature method
Extend EveryPolitician Index with a legislature method
Sep 3, 2016
Problem
At the moment, to pass a house to a Page constructor, we have to do a bit of a dance like this:
This adds a bit of complexity and raises the flog score a bit.
Proposed Solution
It would be nice if we could add a method to the
lib/everypolitician_extensions.rb
to extend theEverypolitician::Index
with a method that allows you to pass a country and a house slug.So that you can do
Acceptance Criteria
The text was updated successfully, but these errors were encountered: