app/helpers/shanti_integration_helper.rb
#TODO: SHOULDN'T BE USED ANYMORE!!!
SHOULDN'T BE USED ANYMORE
SHOULDN ' T BE USED ANYMORE
def primary_tabs_list
    [
      {
        :id => :places,
        :title => "Places",
        :app => :places,
        :url => defined?(PlacesIntegration::PlacesResource.get_url) ? PlacesIntegration::PlacesResource.get_url : false
      },
      {
        :id => :topics,
        :title => defined?(SubjectsIntegration) ? SubjectsIntegration::Feature.human_name(:count => :many).titleize.s : Feature.model_name.human(:count => :many).titleize.s,
        :app => :topics,
        :url => defined?(SubjectsIntegration::SubjectsResource.get_url) ? SubjectsIntegration::SubjectsResource.get_url : false
      },
    ]
  end
def primary_tabs_list [ { :id => :places , :title => "Places" , :app => :places , :url => defined? ( PlacesIntegration :: PlacesResource . get_url ) ? PlacesIntegration :: PlacesResource . get_url : false } , { :id => :topics , :title => defined? ( SubjectsIntegration ) ? SubjectsIntegration :: Feature . human_name ( :count => :many ) . titleize . s : Feature . model_name . human ( :count => :many ) . titleize . s , :app => :topics , :url => defined? ( SubjectsIntegration :: SubjectsResource . get_url ) ? SubjectsIntegration :: SubjectsResource . get_url : false } , ] end
TODO: SHOULDN'T BE USED ANYMORE!!
TODO : SHOULDN ' T BE USED ANYMORE!!