Remove unused layout and clear up naming

* scaffold.css is only used by login -> rename to login.css
* standard.html.erb is the default application layout -> rename to application.html.erb
* scaffold.html.erb is unused -> deleted
This commit is contained in:
Stefan Hacker 2012-09-02 14:19:42 +02:00
parent 4fb9939e3a
commit 27adccb6e9
9 changed files with 105 additions and 133 deletions

View file

@ -12,7 +12,7 @@ class ApplicationController < ActionController::Base
include LoginSystem
helper_method :current_user, :prefs, :format_date, :markdown
layout proc{ |controller| controller.mobile? ? "mobile" : "standard" }
layout proc{ |controller| controller.mobile? ? "mobile" : "application" }
# exempt_from_layout /\.js\.erb$/
before_filter :check_for_deprecated_password_hash