This link has been bookmarked by 13 people . It was first bookmarked on 15 May 2009, by Randy Brown.
-
16 Jul 10
-
Since all we are doing is saving some data to the session, this action does not need any view, hence:
$this->autoRender = false; -
$.post('/beers/add_beer', {id: $(this).attr('id')});It basically means that we’ve POSTed some data to our controller’s action and that data just happens to be “id”, which by reading the link’s actual id happens to be ‘some-beer-name’.
-
-
03 Jul 10
-
25 Feb 10
-
24 Feb 10
-
01 Feb 10
-
13 Nov 09
-
14 Sep 09
-
23 Aug 09
-
18 Jun 09
-
10 Jun 09
-
15 May 09
-
21 Jan 09
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.