Welcome Guest, Not a member yet? Register   Sign In
route possible for that?
#1

[eluser]benfike[/eluser]
Hi!
I have an Question with routing.

I have an quote named controller(this is the default controller), and a mquote model.

Function:
Code:
function quotes($id){
        $data['quotes'] = $this->Mquote->getQuoteById($id);
        $data['main'] = 'list';
        $data['title'] = 'Oldal';
        $this->load->vars($data);
        $this->load->view('main_temp',$data);
    }

Can I delete from url the quotes?
Because now my url: http://something.org/quotes/$id
I want this: http://something.org/$id

Its possible?




Theme © iAndrew 2016 - Forum software by © MyBB