Skip to content

Commit

Permalink
Allows creation of new leagues; fixes permissions issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
toomuchpete committed Sep 20, 2024
1 parent e443a7a commit 1e51868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/leagues_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class LeaguesController < ApplicationController
before_filter :load_league_from_params, except: [:index, :new, :create]
before_filter :initialize_roster_csv, only: [:manage_roster, :upload_roster, :setup_roster_import, :import_roster]
filter_access_to :index
filter_access_to :index, :new, :create
filter_access_to :all, attribute_check: true

def index
Expand Down

0 comments on commit 1e51868

Please sign in to comment.