[Source]
# File app/helpers/questions_helper.rb, line 2 2: def status_link(id, status) 3: text = status ? t('common.deactivate') : t('common.activate') 4: link_to text, state_question_path(id, :active => status ? 0 : 1) 5: end
[Validate]