Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository has been archived by the owner. It is now read-only.

Commit 9eb9eac

Browse files
committed
Subiendo modelos del sistema
1 parent 9f5aceb commit 9eb9eac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+555
-250
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ gem 'rails', '3.2.11'
88
gem 'mysql2'
99
gem 'formtastic'
1010
gem 'carrierwave'
11-
11+
gem 'slim'
1212
# Gems used only for assets and not required
1313
# in production environments by default.
1414

Gemfile.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,15 @@ GEM
133133
multi_json (~> 1.0)
134134
rubyzip
135135
websocket (~> 1.0.4)
136+
slim (1.3.6)
137+
temple (~> 0.5.5)
138+
tilt (~> 1.3.3)
136139
sprockets (2.2.2)
137140
hike (~> 1.2)
138141
multi_json (~> 1.0)
139142
rack (~> 1.0)
140143
tilt (~> 1.1, != 1.3.0)
144+
temple (0.5.5)
141145
thor (0.16.0)
142146
tilt (1.3.3)
143147
treetop (1.4.12)
@@ -167,4 +171,5 @@ DEPENDENCIES
167171
rails (= 3.2.11)
168172
rspec-rails
169173
sass-rails (~> 3.2.3)
174+
slim
170175
uglifier (>= 1.0.3)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Place all the behaviors and hooks related to the matching controller here.
2+
# All this logic will automatically be available in application.js.
3+
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Place all the behaviors and hooks related to the matching controller here.
2+
# All this logic will automatically be available in application.js.
3+
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Place all the styles related to the home controller here.
2+
// They will automatically be included in application.css.
3+
// You can use Sass (SCSS) here: http://sass-lang.com/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Place all the styles related to the school_period controller here.
2+
// They will automatically be included in application.css.
3+
// You can use Sass (SCSS) here: http://sass-lang.com/

app/controllers/home_controller.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
class HomeController < ApplicationController
2+
def index
3+
end
4+
end
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
class SchoolPeriodController < ApplicationController
2+
def index
3+
end
4+
5+
def show
6+
end
7+
8+
def new
9+
end
10+
11+
def create
12+
end
13+
14+
def edit
15+
end
16+
17+
def update
18+
end
19+
end

app/helpers/home_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module HomeHelper
2+
end
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module SchoolPeriodHelper
2+
end

0 commit comments

Comments
 (0)