app/helpers/user_training_stories_helper.rb
# Returns the HTML for the UserTrainingStoryController#show() action of the specified
# UserTrainingStory instance, but only if the current user can access its contents.
#
# Assumes user_training_story is a valid UserTrainingStory instance.
#
Returns the HTML for the UserTrainingStoryController#show() action of the specified
UserTrainingStory instance, but only if the current user can access its contents.

Assumes user_training_story is a valid UserTrainingStory instance.
Returns the HTML for the UserTrainingStoryController#show () action of the specified UserTrainingStory instance but only if the current user can access its contents . Assumes user_training_story is a valid UserTrainingStory instance .
def link_to_user_training_story_show( user_training_story )
    link_to( user_training_story_path(id: user_training_story.id), class: 'btn btn-default' ) do
      image_tag('page_go.png') << "&nbsp; #{I18n.t(:show)}".html_safe
    end if check_story_visibility_for( user_training_story )
  end
def link_to_user_training_story_show ( user_training_story ) link_to ( user_training_story_path ( id : user_training_story . id ) , class : 'btn btn-default' ) do image_tag ( 'page_go.png' ) << "&nbsp; #{I18n.t(:show)}" . html_safe end if check_story_visibility_for ( user_training_story ) end
Returns the HTML for the UserTrainingStoryController#show() action of the specified
UserTrainingStory instance, but only if the current user can access its contents.
Returns the HTML for the UserTrainingStoryController#show () action of the specified UserTrainingStory instance but only if the current user can access its contents .
user_training_story
<not_specific>