Skip to content

Commit

Permalink
adding shortlinks module (fixes #662)
Browse files Browse the repository at this point in the history
  • Loading branch information
makeusabrew committed Nov 7, 2011
1 parent 0f12eb7 commit dca7429
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 0 deletions.
13 changes: 13 additions & 0 deletions apps/shortlinks/controllers/shortlinks.php
@@ -0,0 +1,13 @@
<?php

class ShortlinksController extends Controller {
public function bootbox_redirect() {
return $this->redirect(array(
"app" => "blog",
"controller" => "Blog",
"action" => "view_post",
"month" => "2011/11",
"url" => "bootbox-js-alert-confirm-dialogs-for-twitter-bootstrap",
));
}
}
4 changes: 4 additions & 0 deletions apps/shortlinks/paths.php
@@ -0,0 +1,4 @@
<?php
PathManager::loadPaths(
array("/bootbox", "bootbox_redirect")
);
4 changes: 4 additions & 0 deletions public/css/main.css
Expand Up @@ -109,3 +109,7 @@ span.git-blue {
#comments .alert-message {
margin-top:1em;
}

.post .gist {
padding:0.8em 0;
}
1 change: 1 addition & 0 deletions settings/build.ini
Expand Up @@ -13,6 +13,7 @@ app[]="default"
app[]="blog"
app[]="search"
app[]="contact"
app[]="shortlinks"
app[]="static"
app[]="users"
app[]="admin"
Expand Down
1 change: 1 addition & 0 deletions settings/live.ini
Expand Up @@ -14,6 +14,7 @@ app[]="default"
app[]="blog"
app[]="search"
app[]="contact"
app[]="shortlinks"
app[]="static"
app[]="users"

Expand Down

0 comments on commit dca7429

Please sign in to comment.