Homepage changes

@mosic 
mosic:
> This change is unnecessary, as only indentation/whitespace has changed. You should revert it and keep only the change in pages_controller.

azharmalik3:
>I did this because there is difficult to read IF-ELSE-END.

I agree that it's not that readable. If you want to make this change switch the indentation to 2 spaces, so it's consistent with the rest of the project. Easiest way to do it would be setting 2 spaces indentation in RubyMine and then using it's "Reformat Code" option.