Connexion page is contextualized with procedure title and description when is access with link.
This commit is contained in:
parent
95bb773275
commit
4d1cb9ecfe
9 changed files with 115 additions and 21 deletions
|
@ -25,6 +25,10 @@ class Procedure < ActiveRecord::Base
|
|||
types_de_champ.order(:order_place)
|
||||
end
|
||||
|
||||
def self.not_archived id
|
||||
Procedure.where(archived: false).find(id)
|
||||
end
|
||||
|
||||
def switch_types_de_champ index_of_first_element
|
||||
return false if index_of_first_element < 0
|
||||
types_de_champ_tmp = types_de_champ_ordered
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue