mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
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:
parent
4fb9939e3a
commit
27adccb6e9
9 changed files with 105 additions and 133 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue