forked from wycats/merb
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix up merb-gen to make a good new merb-core 0.9 app
- Loading branch information
Ezra Zygmuntowicz
committed
Feb 1, 2008
1 parent
a941771
commit b7e96fc
Showing
5 changed files
with
84 additions
and
2 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
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
38 changes: 38 additions & 0 deletions
38
merb-gen/app_generators/merb/templates/app/views/exeptions/not_acceptable.html.erb
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,38 @@ | ||
<div id="container"> | ||
<div id="header-container"> | ||
<img src="/images/merb.jpg"> | ||
<!-- <h1>Mongrel + Erb</h1> --> | ||
<h2>pocket rocket web framework</h2> | ||
<hr /> | ||
</div> | ||
|
||
<div id="left-container"> | ||
<h3>Exception:</h3> | ||
<p><%= params[:exception] %></p> | ||
</div> | ||
|
||
<div id="main-container"> | ||
<h3>Why am I seeing this page?</h3> | ||
<p>Merb couldn't find an appropriate content_type to return, | ||
based on what you said was available via provides() and | ||
what the client requested. For more information, visit | ||
http://merbivore.com/fixing_406_issues | ||
</p> | ||
|
||
<h3>Where can I find help?</h3> | ||
<p>If you have any questions or if you can't figure something out, please take a | ||
look at our <a href="http://merb.devjavu.com/"> project development page</a> or, | ||
feel free to come chat at irc.freenode.net, channel #merb.</p> | ||
|
||
<h3>How do I edit this page?</h3> | ||
<p>You can change what people see when this happens byy editing <tt>app/views/exceptions/not_found.html.erb</tt>.</p> | ||
|
||
</div> | ||
|
||
<div id="footer-container"> | ||
<hr /> | ||
<div class="left"></div> | ||
<div class="right">© 2007 the merb dev team</div> | ||
<p> </p> | ||
</div> | ||
</div> |
40 changes: 40 additions & 0 deletions
40
merb-gen/app_generators/merb/templates/app/views/exeptions/not_found.html.erb
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,40 @@ | ||
<div id="container"> | ||
<div id="header-container"> | ||
<img src="/images/merb.jpg"> | ||
<!-- <h1>Mongrel + Erb</h1> --> | ||
<h2>pocket rocket web framework</h2> | ||
<hr /> | ||
</div> | ||
|
||
<div id="left-container"> | ||
<h3>Exception:</h3> | ||
<p><%= params[:exception] %></p> | ||
</div> | ||
|
||
<div id="main-container"> | ||
<h3>Welcome to Merb!</h3> | ||
<p>Merb is a light-weight MVC framework written in Ruby. We hope you enjoy it.</p> | ||
|
||
<h3>Where can I find help?</h3> | ||
<p>If you have any questions or if you can't figure something out, please take a | ||
look at our <a href="http://merb.devjavu.com/"> project development page</a> or, | ||
feel free to come chat at irc.freenode.net, channel #merb.</p> | ||
|
||
<h3>How do I edit this page?</h3> | ||
<p>You're seeing this page because you need to edit the following files: | ||
<ul> | ||
<li>config/merb.yml <strong><em>(optional)</em></strong></li> | ||
<li>config/router.rb <strong><em>(recommended)</em></strong></li> | ||
<li>app/views/exceptions/not_found.html.erb <strong><em>(recommended)</em></strong></li> | ||
<li>app/views/layout/application.html.erb <strong><em>(change this layout)</em></strong></li> | ||
</ul> | ||
</p> | ||
</div> | ||
|
||
<div id="footer-container"> | ||
<hr /> | ||
<div class="left"></div> | ||
<div class="right">© 2007 the merb dev team</div> | ||
<p> </p> | ||
</div> | ||
</div> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.