Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
generic_test
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Owen Ilagan
generic_test
Commits
fec6b14d
Commit
fec6b14d
authored
Jun 13, 2016
by
Owen Ilagan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Branch One First Commit
parent
b63232a4
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
32 additions
and
2 deletions
+32
-2
Gemfile.lock
Gemfile.lock
+6
-1
welcome.coffee
app/assets/javascripts/welcome.coffee
+3
-0
welcome.scss
app/assets/stylesheets/welcome.scss
+3
-0
welcome_controller.rb
app/controllers/welcome_controller.rb
+4
-0
welcome_helper.rb
app/helpers/welcome_helper.rb
+2
-0
index.html.erb
app/views/welcome/index.html.erb
+2
-0
routes.rb
config/routes.rb
+3
-1
welcome_controller_test.rb
test/controllers/welcome_controller_test.rb
+9
-0
No files found.
Gemfile.lock
View file @
fec6b14d
...
...
@@ -73,6 +73,9 @@ GEM
mini_portile2 (2.1.0)
minitest (5.9.0)
multi_json (1.12.1)
nokogiri (1.6.8)
mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7)
nokogiri (1.6.8-x86-mingw32)
mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7)
...
...
@@ -124,6 +127,7 @@ GEM
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.11)
sqlite3 (1.3.11-x86-mingw32)
thor (0.19.1)
thread_safe (0.3.5)
...
...
@@ -143,6 +147,7 @@ GEM
sprockets-rails (>= 2.0, < 4.0)
PLATFORMS
ruby
x86-mingw32
DEPENDENCIES
...
...
@@ -160,4 +165,4 @@ DEPENDENCIES
web-console (~> 2.0)
BUNDLED WITH
1.1
0.4
1.1
1.2
app/assets/javascripts/welcome.coffee
0 → 100644
View file @
fec6b14d
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
app/assets/stylesheets/welcome.scss
0 → 100644
View file @
fec6b14d
// Place all the styles related to the welcome controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
app/controllers/welcome_controller.rb
0 → 100644
View file @
fec6b14d
class
WelcomeController
<
ApplicationController
def
index
end
end
app/helpers/welcome_helper.rb
0 → 100644
View file @
fec6b14d
module
WelcomeHelper
end
app/views/welcome/index.html.erb
0 → 100644
View file @
fec6b14d
<h1>
Welcome#index
</h1>
<p>
Find me in app/views/welcome/index.html.erb
</p>
config/routes.rb
View file @
fec6b14d
Rails
.
application
.
routes
.
draw
do
get
'welcome/index'
# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".
# You can have the root of your site routed with "root"
#
root 'welcome#index'
root
'welcome#index'
# Example of regular route:
# get 'products/:id' => 'catalog#view'
...
...
test/controllers/welcome_controller_test.rb
0 → 100644
View file @
fec6b14d
require
'test_helper'
class
WelcomeControllerTest
<
ActionController
::
TestCase
test
"should get index"
do
get
:index
assert_response
:success
end
end
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