app/helpers/user_training_stories_helper.rb
# Returns the HTML for the UserTrainingStoryController#show() action of the specified
# UserTrainingStory instance, using the training story notes as link label, but only
# if the current user can access its contents.
# Otherwise it simply returns the label.
#
# Assumes user_training_story is a valid UserTrainingStory instance.
#
Returns the HTML for the UserTrainingStoryController#show() action of the specified
UserTrainingStory instance, using the training story notes as link label, but only
if the current user can access its contents.
Otherwise it simply returns the label.

Assumes user_training_story is a valid UserTrainingStory instance.
Returns the HTML for the UserTrainingStoryController#show () action of the specified UserTrainingStory instance using the training story notes as link label but only if the current user can access its contents . Otherwise it simply returns the label . Assumes user_training_story is a valid UserTrainingStory instance .
def link_to_user_training_story_show_with_label( user_training_story )
    if check_story_visibility_for( user_training_story )
      link_to(
        user_training_story.notes,
        user_training_story_path(id: user_training_story.id)
      )
    else
      user_training_story.notes
    end
  end
def link_to_user_training_story_show_with_label ( user_training_story ) if check_story_visibility_for ( user_training_story ) link_to ( user_training_story . notes , user_training_story_path ( id : user_training_story . id ) ) else user_training_story . notes end end
Returns the HTML for the UserTrainingStoryController#show() action of the specified
UserTrainingStory instance, using the training story notes as link label, but only
if the current user can access its contents.
Returns the HTML for the UserTrainingStoryController#show () action of the specified UserTrainingStory instance using the training story notes as link label but only if the current user can access its contents .
user_training_story
<not_specific>