Delete un-use code DossiersDecorator
This commit is contained in:
parent
02ec901777
commit
3c11bef503
1 changed files with 1 additions and 12 deletions
|
@ -1,15 +1,4 @@
|
|||
class DossiersDecorator < Draper::CollectionDecorator
|
||||
delegate :current_page, :per_page, :offset, :total_entries, :total_pages
|
||||
|
||||
def active_class_a_traiter page
|
||||
'active' if page == 'a_traiter'
|
||||
end
|
||||
|
||||
def active_class_en_attente page
|
||||
'active' if page == 'en_attente'
|
||||
end
|
||||
|
||||
def active_class_termine page
|
||||
'active' if page == 'termine'
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue