New rails app for working through http://www.rubyinside.com/how-to-rails-3-and-rspec-2-4336.html
This commit is contained in:
BIN
rails/gerbil/app/assets/images/rails.png
Normal file
BIN
rails/gerbil/app/assets/images/rails.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.5 KiB |
9
rails/gerbil/app/assets/javascripts/application.js
Normal file
9
rails/gerbil/app/assets/javascripts/application.js
Normal file
@@ -0,0 +1,9 @@
|
||||
// This is a manifest file that'll be compiled into including all the files listed below.
|
||||
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
||||
// be included in the compiled file accessible from http://example.com/assets/application.js
|
||||
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
||||
// the compiled file.
|
||||
//
|
||||
//= require jquery
|
||||
//= require jquery_ujs
|
||||
//= require_tree .
|
7
rails/gerbil/app/assets/stylesheets/application.css
Normal file
7
rails/gerbil/app/assets/stylesheets/application.css
Normal file
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
||||
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
||||
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
||||
*= require_self
|
||||
*= require_tree .
|
||||
*/
|
3
rails/gerbil/app/controllers/application_controller.rb
Normal file
3
rails/gerbil/app/controllers/application_controller.rb
Normal file
@@ -0,0 +1,3 @@
|
||||
class ApplicationController < ActionController::Base
|
||||
protect_from_forgery
|
||||
end
|
2
rails/gerbil/app/helpers/application_helper.rb
Normal file
2
rails/gerbil/app/helpers/application_helper.rb
Normal file
@@ -0,0 +1,2 @@
|
||||
module ApplicationHelper
|
||||
end
|
0
rails/gerbil/app/mailers/.gitkeep
Normal file
0
rails/gerbil/app/mailers/.gitkeep
Normal file
0
rails/gerbil/app/models/.gitkeep
Normal file
0
rails/gerbil/app/models/.gitkeep
Normal file
14
rails/gerbil/app/views/layouts/application.html.erb
Normal file
14
rails/gerbil/app/views/layouts/application.html.erb
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Gerbil</title>
|
||||
<%= stylesheet_link_tag "application" %>
|
||||
<%= javascript_include_tag "application" %>
|
||||
<%= csrf_meta_tags %>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user