Packages controller added
This commit is contained in:
parent
f28c637d10
commit
c2a695aec0
15 changed files with 110 additions and 1 deletions
10
app/views/packages/index.html.erb
Normal file
10
app/views/packages/index.html.erb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<h1>Packages#index</h1>
|
||||
<p>Find me in app/views/packages/index.html.erb</p>
|
||||
|
||||
<ul>
|
||||
<% @packages.each do |package| %>
|
||||
<li>
|
||||
<%= package.name %> <i>(<%= package.description %>)</i>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
2
app/views/packages/moderate.html.erb
Normal file
2
app/views/packages/moderate.html.erb
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<h1>Packages#moderate</h1>
|
||||
<p>Find me in app/views/packages/moderate.html.erb</p>
|
||||
2
app/views/packages/with_screenshots.html.erb
Normal file
2
app/views/packages/with_screenshots.html.erb
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<h1>Packages#with_screenshots</h1>
|
||||
<p>Find me in app/views/packages/with_screenshots.html.erb</p>
|
||||
2
app/views/packages/without_screenshots.html.erb
Normal file
2
app/views/packages/without_screenshots.html.erb
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<h1>Packages#without_screenshots</h1>
|
||||
<p>Find me in app/views/packages/without_screenshots.html.erb</p>
|
||||
Loading…
Add table
Add a link
Reference in a new issue