Skip to content

Instantly share code, notes, and snippets.

@zackn9ne
Created October 9, 2014 17:44
Show Gist options
  • Save zackn9ne/12092179daa366711abd to your computer and use it in GitHub Desktop.
Save zackn9ne/12092179daa366711abd to your computer and use it in GitHub Desktop.
basic ruby index file
<!DOCTYPE html>
<html>
<head>
<title>Artist</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
show some artists
<ul>
<% @artists.each do |artist| %>
<li>
<%= artist.name %>
</li>
<% end %>
</ul>
~
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment