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

View file

@ -20,7 +20,7 @@ class FeedlistController < ApplicationController
@hidden_contexts = current_user.contexts.hidden
respond_to do |format|
format.html { render :layout => 'standard' }
format.html { render :layout => 'application' }
format.m
end
end

View file

@ -16,7 +16,7 @@ class StatsController < ApplicationController
get_stats_projects
get_stats_tags
render :layout => 'standard'
render :layout => 'application'
end
def actions_done_last12months_data