Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

add commented out session support in skeleton #1008

Closed
wants to merge 3 commits into from

4 participants

@szabgab

No description provided.

@racke
Owner

Justification for this change?

@szabgab

to make it easier to get started?

@racke
Owner
@szabgab

Hmm, I did not see any session support there. Have I missed it?

@jwittkoski

The skeleton files created by dancer do not use session at all from what I can tell. But I did notice that the Introduction.pod starts with dancer -a MyApp and later discusses the session function, so if the session is commented out from the skeleton it might be good to update Introduction.pod to explain how to enable it.

@yanick yanick closed this pull request from a commit
@yanick yanick Merge branch 'pr/1008' into devel
Fixes #1008
b0c3014
@yanick yanick closed this in b0c3014
@yanick
Owner

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 31, 2014
  1. @szabgab
Commits on Apr 1, 2014
  1. @szabgab

    Instead of hard-coding the appdir in the skeleton, show it dynamicall…

    szabgab authored
    …y as is being done by all the other variables
  2. @szabgab
This page is out of date. Refresh to see the latest.
Showing with 9 additions and 6 deletions.
  1. +9 −6 script/dancer
View
15 script/dancer
@@ -382,11 +382,11 @@ WriteMakefile(
<ul class="links">
<li><a
- href="http://search.cpan.org/dist/Dancer/lib/Dancer/Introduction.pod">Introduction</a></li>
- <li><a href="http://search.cpan.org/dist/Dancer/lib/Dancer/Cookbook.pod">Cookbook</a></li>
- <li><a href="http://search.cpan.org/dist/Dancer/lib/Dancer/Deployment.pod">Deployment Guide</a></li>
+ href="https://metacpan.org/pod/Dancer::Introduction">Introduction</a></li>
+ <li><a href="https://metacpan.org/pod/Dancer::Cookbook">Cookbook</a></li>
+ <li><a href="https://metacpan.org/pod/Dancer::Deployment">Deployment Guide</a></li>
<li><a
- href="http://search.cpan.org/dist/Dancer/lib/Dancer/Tutorial.pod"
+ href="https://metacpan.org/pod/Dancer::Tutorial"
title="a tutorial to build a small blog engine with Dancer">Tutorial</a></li>
</ul>
</li>
@@ -395,7 +395,7 @@ WriteMakefile(
<h3>Your application\'s environment</h3>
<ul>
- <li>Location: <code>[% appdir %]</code></li>
+ <li>Location: <code><% settings.appdir %></code></li>
<li>Template engine: <code><% settings.template %></code></li>
<li>Logger: <code><% settings.logger %></code></li>
<li>Environment: <code><% settings.environment %></code></li>
@@ -435,7 +435,7 @@ WriteMakefile(
</tr>
<tr>
<td>Appdir</td>
- <td><tt>[% appdir %]</tt></td>
+ <td><tt><% settings.appdir %></tt></td>
</tr>
<tr>
<td>Template engine</td>
@@ -927,6 +927,9 @@ template: \"simple\"
# start_tag: '[%'
# end_tag: '%]'
+# For session support enable the following line and see Dancer::Session
+# session: \"YAML\"
+
",
'jquery.js' => jquery_minified(),
Something went wrong with that request. Please try again.