This repository has been archived by the owner on Jun 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mime alias for html of nolayout Added to pages only for now
- Loading branch information
1 parent
4036614
commit df216ce
Showing
4 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
# | ||
# Ignore bundler config | ||
/.bundle | ||
/tmp | ||
# Ignore the default SQLite database. | ||
/db/*.sqlite3 | ||
# If you find yourself ignoring temporary files generated by your text editor | ||
# or operating system, you probably want to add a global ignore instead: | ||
.ruby-version | ||
# Ignore the default SQLite database. | ||
# git config --global core.excludesfile ~/.gitignore_global | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
# Ignore all logfiles and tempfiles. | ||
/log/*.log | ||
# Ignore bundler config | ||
snoonet.sublime-workspace | ||
snoonet.sublime-project | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
# If you find yourself ignoring temporary files generated by your text editor | ||
# or operating system, you probably want to add a global ignore instead: | ||
# Ignore all logfiles and tempfiles. | ||
snoonet.sublime-project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
!!! 5 | ||
%html | ||
%head | ||
= stylesheet_link_tag 'application-screen', media: 'screen' | ||
= javascript_include_tag 'application' | ||
= google_webfonts_link_tag roboto: [100, 400, 500, 700, "italic", "bolditalic"] | ||
%body | ||
= yield |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Load the rails application | ||
require File.expand_path('../application', __FILE__) | ||
|
||
# Custom Mime types | ||
# "Nolayout" for HTML without layout | ||
Mime::Type.register_alias "text/html", :nolayout | ||
|
||
# Initialize the rails application | ||
Snoonet::Application.initialize! |