Remove dead code related to dossier state

This commit is contained in:
Paul Chavard 2018-11-06 18:46:41 +01:00
parent eede94a59f
commit 33c6ddc452
4 changed files with 0 additions and 99 deletions

View file

@ -1,6 +1,4 @@
class DossierDecorator < Draper::Decorator
include Rails.application.routes.url_helpers
delegate :current_page, :limit_value, :total_pages
delegate_all
@ -11,12 +9,4 @@ class DossierDecorator < Draper::Decorator
def last_update
updated_at.strftime('%d/%m/%Y %H:%M')
end
def display_state
DossierDecorator.case_state_fr state
end
def self.case_state_fr(state = self.state)
h.t("activerecord.attributes.dossier.state.#{state}")
end
end