app/presenters/role_presenter.rb
# NOTE: we use MinisterialRole because it's the subclass that adds
# methods, if other Role subclasses do this we'll need to add their
# methods to this array too
we use MinisterialRole because it's the subclass that adds
methods, if other Role subclasses do this we'll need to add their
methods to this array too
we use MinisterialRole because it ' s the subclass that adds methods if other Role subclasses do this we ' ll need to add their methods to this array too
def path
    if ministerial?
      context.ministerial_role_path model
    end
  end
def path if ministerial? context . ministerial_role_path model end end
NOTE: we use MinisterialRole because it's the subclass that adds
methods, if other Role subclasses do this we'll need to add their
methods to this array too
NOTE : we use MinisterialRole because it ' s the subclass that adds methods if other Role subclasses do this we ' ll need to add their methods to this array too