class hellocontroller < applicationcontroller def there @counter1 = 1 if(session[:counter2]) @counter2 = session[:counter2] @counter2 = 1 session[:counter2] = @counter2 else @counter2 = 1 session[:counter2] = @counter2 end end end
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
上传中....