User talk:Snaramb: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
We have maintained these constants in a new file at helpers/response_constants.rb. | We have maintained these constants in a new file at helpers/response_constants.rb. | ||
< | <pre> | ||
module ResponseConstants | module ResponseConstants | ||
def _private | def _private | ||
Line 21: | Line 21: | ||
end | end | ||
end | end | ||
< | </pre> |
Revision as of 13:33, 6 December 2018
We have added a new column in the ‘responses’ table (in the database), namely, ‘visibility’. Visibility can have 4 values as listed below:
We have maintained these constants in a new file at helpers/response_constants.rb.
module ResponseConstants def _private 0 end def in_review 1 end def approved_as_sample 2 end def rejected_as_sample 3 end end