Skip to content

Commit

Permalink
フィルタと同様にレイアウトもアプリケーション全体に対して指定できる (controller/application.rb で layout…
Browse files Browse the repository at this point in the history
… "hoge")
  • Loading branch information
kyanny committed Jan 25, 2010
1 parent ae6b48e commit 1073f99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions depot/app/controllers/application.rb
Expand Up @@ -3,6 +3,7 @@
# Likewise, all the methods added will be available for all controllers.

class ApplicationController < ActionController::Base
layout "store"
before_filter :authorize, :except => :login
helper :all # include all helpers, all the time

Expand Down

0 comments on commit 1073f99

Please sign in to comment.