app/controllers/dashing/dashboards_controller.rb in dashing-rails-2.5.0 vs app/controllers/dashing/dashboards_controller.rb in dashing-rails-2.6.0
- old
+ new
@@ -1,8 +1,8 @@
module Dashing
class DashboardsController < ApplicationController
- before_filter :check_dashboard_name, only: :show
+ before_action :check_dashboard_name, only: :show
rescue_from ActionView::MissingTemplate, with: :template_not_found
def index
render file: dashboard_path(Dashing.config.default_dashboard || Dashing.first_dashboard || ''), layout: Dashing.config.dashboard_layout_path