Skip to content

Commit

Permalink
publickview
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed Apr 19, 2024
1 parent a457177 commit 6de0944
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions application/config/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@
$route['default_controller'] = 'welcome';
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
$route['publicview/:num'] = 'publicview/show/$1';
17 changes: 17 additions & 0 deletions application/controllers/Publicview.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Publicview extends CI_Controller {
public function index($id)
{
echo $id;
}

public function show($id)
{
echo "show";
echo $id;
}


}

0 comments on commit 6de0944

Please sign in to comment.