layout selected by controller name

This commit is contained in:
Cyril 2012-09-26 22:24:52 +02:00
parent 078a8f0e66
commit bdf317addc
7 changed files with 12 additions and 30 deletions

View file

@ -1,5 +1,4 @@
class ProfileController < ApplicationController
layout "profile"
before_filter :user
def show