views:

143

answers:

1

I use application.spark file for master page In my app i have login page that does not need master page

I tried remove master page from my login page using this tag , but it continue to use application.spark

I can fix it by adding new master page in layout folder with name blank.spark file without any code and in my login page put this tag .

looks too ugly, so I'm asking you if you know another option to fix this issue?

I'm using: Spark-1.1.39975.0-release

A: 

In your controller action, return PartialView instead of View, and the Application.spark layout will be ignored.

RedFilter