Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sinatra-skeleton
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jose Ernesto Suarez
sinatra-skeleton
Commits
8aefb29a
Commit
8aefb29a
authored
May 19, 2016
by
Vaz Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move songs and albums index views to subdirectories
parent
ed8eb4a3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
actions.rb
app/actions.rb
+2
-2
index.erb
app/views/albums/index.erb
+0
-0
index.erb
app/views/songs/index.erb
+0
-0
No files found.
app/actions.rb
View file @
8aefb29a
...
@@ -5,10 +5,10 @@ end
...
@@ -5,10 +5,10 @@ end
get
'/songs'
do
get
'/songs'
do
@songs
=
Song
.
all
@songs
=
Song
.
all
erb
:
songs
erb
:
'songs/index'
end
end
get
'/albums'
do
get
'/albums'
do
@albums
=
Album
.
all
@albums
=
Album
.
all
erb
:
albums
erb
:
'albums/index'
end
end
app/views/albums.erb
→
app/views/albums
/index
.erb
View file @
8aefb29a
File moved
app/views/songs.erb
→
app/views/songs
/index
.erb
View file @
8aefb29a
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment