Skip to content

Commit

Permalink
fix issues with before_filter and do misc cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
cpg committed Jul 25, 2018
1 parent 9cbb218 commit 261dac7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 123 deletions.
98 changes: 0 additions & 98 deletions Gemfile.lock

This file was deleted.

2 changes: 1 addition & 1 deletion app/controllers/dbbackups_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class DbbackupsController < ApplicationController
before_filter :admin_required
before_action :admin_required

def index
@page_title = "DB Backups"
Expand Down
4 changes: 4 additions & 0 deletions config.ru
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment', __FILE__)
run Rails.application
24 changes: 0 additions & 24 deletions dbbackups.gemspec

This file was deleted.

0 comments on commit 261dac7

Please sign in to comment.