module V1
  module SlackInvitation
    class StrategiesController < ApplicationController
      def show
        render json:  {
          id: 0,
          name: 'mason',
          club_name: 'Mason Hack Club',
          primary_color: '#d31b6b',
          greeting: "Hello welcome to Hack Club's Slack :)",
          channels: [],
          user_groups: []
        }
      end
    end
  end
end

module V1
  module SlackInvitation
    class StrategiesController < ApplicationController
      def show
        @strat = SlackInviteStrategy.find_by(name: params[:id])

        unless @strat
          render json: {}, status: 404

          return
        end

        render json: @strat
      end
    end
  end
end

Add proper lookup for strategies
Add proper lookup for strategies
