Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1891 ankur.sing 1
package in.shop2020.support.controllers;
2
 
3
import org.apache.struts2.convention.annotation.Result;
4
 
5
/**
6
 * 
7
 * @author rajveer
8
 * 
9
 */
10
 
11
@Result(name="success", type="redirectAction", params = {"actionName" , "reports"})
12
 
13
public class LogoutController extends ReportsController {
14
 
15
    /**
16
     * 
17
     */
18
    private static final long serialVersionUID = 5390035354379263121L;
19
 
20
    public String index() {
21
        if(isLoggedIn()){
22
            setUserAsLogout();
23
        }
24
        return "success";
25
    }
26
 
27
}