app/controllers/projects_controller.rb
# expects a top-level activity type label as a param.
# returns the reach question text
expects a top-level activity type label as a param.
returns the reach question text
expects a top - level activity type label as a param . returns the reach question text
def reach_question_text
    slug = Concepts::ActivityType.slugify_label_text(params[:activity_type_label])
    activity_type_resource = Concepts::ActivityType.find( Concepts::ActivityType.uri_from_slug(slug) )
    render :text => activity_type_resource.get_reach_question_text
  end
def reach_question_text slug = Concepts :: ActivityType . slugify_label_text ( params [ :activity_type_label ] ) activity_type_resource = Concepts :: ActivityType . find ( Concepts :: ActivityType . uri_from_slug ( slug ) ) render :text => activity_type_resource . get_reach_question_text end
expects a top-level activity type label as a param.
expects a top - level activity type label as a param .