views:

12

answers:

1
module ConstantModelName
  AIRPORT =  "Airport"
end

This module is in lib folder of my app.
I want avialble this constant(AIRPORT) value to my views.
Is this possible? If Yes, how can i do this?

Thanks in advance

+2  A: 

Use ConstantModelName::AIRPORT in your views.

evaneykelen