Remove dead code related to dossier state
This commit is contained in:
parent
eede94a59f
commit
33c6ddc452
4 changed files with 0 additions and 99 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue