aboutsummaryrefslogtreecommitdiffstats
path: root/trunk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--trunk/etherpad/src/main.js4
-rw-r--r--trunk/etherpad/src/templates/tag/tag_search.ejs4
2 files changed, 5 insertions, 3 deletions
diff --git a/trunk/etherpad/src/main.js b/trunk/etherpad/src/main.js
index 61e365f..0bba1f0 100644
--- a/trunk/etherpad/src/main.js
+++ b/trunk/etherpad/src/main.js
@@ -363,7 +363,7 @@ function handlePath() {
[PrefixMatcher('/static/'), forward(static_control)],
[PrefixMatcher('/ep/genimg/'), genimg.renderPath],
[PrefixMatcher('/ep/pad/'), forward(pad_control)],
- [PrefixMatcher('/ep/tag/'), forward(tag_control)],
+ [PrefixMatcher('/ep/tag'), forward(tag_control)],
[PrefixMatcher('/ep/script/'), forward(scriptcontrol)],
[/^\/([^\/]+)$/, pad_control.render_pad],
[DirMatcher('/ep/unit-tests/'), forward(testcontrol)],
@@ -373,7 +373,7 @@ function handlePath() {
var etherpadDotComDispatcher = new Dispatcher();
etherpadDotComDispatcher.addLocations([
- ['/', maincontrol.render_main],
+ ['/', forward(tag_control)], // maincontrol.render_main],
[DirMatcher('/ep/beta-account/'), forward(pro_beta_control)],
[DirMatcher('/ep/pro-signup/'), forward(pro_signup_control)],
[DirMatcher('/ep/about/'), forward(aboutcontrol)],
diff --git a/trunk/etherpad/src/templates/tag/tag_search.ejs b/trunk/etherpad/src/templates/tag/tag_search.ejs
index ccf38ff..9284665 100644
--- a/trunk/etherpad/src/templates/tag/tag_search.ejs
+++ b/trunk/etherpad/src/templates/tag/tag_search.ejs
@@ -58,7 +58,9 @@ limitations under the License. */ %>
<div id="padsidebar">
<div id="padusers">
- XYZZY
+ <a href="/ep/pad/newpad" id="home-newpad">
+ Create new pad
+ </a>
</div>
<div id="hdraggie"><!-- --></div>